What is JDBC? Describe the steps needed to execute a SQL query using JDBC.
What is RMI?
What are native methods? How do you use them?
What does the keyword "synchronize" mean in java. When do you use it? What are the disadvantages of synchronization?
How many different types of JDBC drivers are present? Discuss them.
What is the difference between a Vector and an Array. Discuss the advantages and disadvantages of both?
Describe java's security model.
Java says "write once, run anywhere". What are some ways this isn't quite true?
What is the difference between an Applet and an Application?
How can you force all derived classes to implement a method present in the base class?
What are abstract classes, abstract methods?
What's the difference between == and equals method?
Describe, in general, how java's garbage collector works?
What is the difference between StringBuffer and String class?
How can you achieve Multiple Inheritance in Java?
What are interfaces?
What are the main differences between Java and C++?
In Java, You can create a String object as: String str = "abc"; & String str = new String("abc"); Why cant a button object be created as : Button bt = "abc" Why is it compulsory to create a button object as: Button bt = new Button("abc"); Why is this not compulsory in String's case?
Why are Java ARchive (JAR) files important?
What is it reflection (introspection) ? Why is reflection possible in the Java language?
How to make application thread-safe ?
What is it object serialization?
What do you know about networking support in Java?
What you know about Corba implementation in Java?
What is Java Beans?
Compare SWING components to standard AWT.
What is layout manager ? How does it work?
What is the purpose of the toolkit in the Abstract Window Toolkit (AWT)? How does AWT work?
What are the differences between Java & C++ in terms of its features?
Is the ternary operator written x : y ? z or x ? y : z ?
What is the List interface?
What is the difference between an if statement and a switch statement?
What are the problems faced by Java programmers who don't use layoutmanagers?
What are the two basic ways in which classes that can be run as threads may be defined?
What are synchronized methods and synchronized statements?
Which Component subclass is used for drawing and painting?
What methods are used to get and set the text label displayed by a Buttonobject?
What method must be implemented by all threads?
When is an object subject to garbage collection?
Can an unreachable object become reachable again?
How does a try statement determine which catch clause should be used tohandle an exception?
What are the Object and Class classes used for?
What modifiers may be used with a top-level class?
What is a Java package and how is it used?
What is the purpose of a statement block?
What is the difference between the prefix and postfix forms of the ++ operator?
Can try statements be nested?
To what value is a variable of the boolean type automatically initialized?
What is the difference between a public and a non-public class?
Re: Top 100 Java / J2EE Questions Asked in Actual Interviews