Home Java Technology Java Basics Java Basic Sample Interview Questions - 3

Interview Dates

« < September 2010 > »
S M T W T F S
29 30 31 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 1 2
Subscribe to cyberqbank.com

Powered by
in.groups.yahoo.com

Login Form




Java Basic Sample Interview Questions - 3 Print E-mail
  1. Can a abstract method have the static qualifier? - No
  2. What are the different types of qualifier and what is the default qualifier? - public, protected, private, package (default)
  3. What is the super class of Hashtable? - Dictionary
  4. What is a lightweight component? - Lightweight components are the one which doesn’t go with the native call to obtain the graphical units. They share their parent component graphical units to render them. Example, Swing components
  5. What is a heavyweight component? - For every paint call, there will be a native call to get the graphical units. Example, AWT.
  6. What is an applet? - Applet is a program which can get downloaded into a client environment and start executing there.
  7. What do you mean by a Classloader? - Classloader is the one which loads the classes into the JVM.
  8. What are the implicit packages that need not get imported into a class file? - java.lang
  9. What is the difference between lightweight and heavyweight component? - Lightweight components reuses its parents graphical units. Heavyweight components goes with the native graphical unit for every component. Lightweight components are faster than the heavyweight components.
  10. What are the ways in which you can instantiate a thread? - Using Thread class By implementing the Runnable interface and giving that handle to the Thread class.
  No Comments.
Quick Post


Discuss this item on the forums. (0 posts)