A job interview can be scary at the best of times. In the current economy,
the process is even more intimidating. What sort of questions would you
expect? What level of discussion are you likely to enter into in a Java
interview? You the readers responded with a wonderful array of
Warm Up Questions
How many interfaces can an interface extend?
Is Java fully object-oriented? If yes, why?
Explain garbage collection in Java and the impact upon memory usage and
performance in two of the common algorithms for determining when the space
allocated to objects can be returned to free storage.
What is the difference between wait and sleep and why is it important?
Can you store null in a Hashtable?
How do you allocate memory in Java?
What are the four modes of access protection in Java, and how do they
behave? What's special about "protected" access?
Java as a Language
Given the opportunity to dictate changes for the next Java release, what
would you fix?
How do you deprecate a method?
What is the difference between overloading a method and overriding a method?
What is reflection? When would you use it?
How do inner classes impact OO design? Do they help create better OO
Assuming you know the philosophy of the Java object model, the syntax of the
Java language, how to use the Java platform, and the semantics of the
specific APIs that are pertinent to the job you are seeking how do you
decide what to do when confronted with a need for new functionality?
An interface doesn't contain any implementation. Why would you want to use
What's an immutable object? What are some examples? Why is immutability
important in Java? How would you create an immutable class?
If you needed to hold a collection of objects within a class, how would you
How can you leverage the salient features of Java to create an extensible
and pluggable component framework?
Where do you see Java in relation to other languages and development
environments? What are its strengths?
What three things would you most like to change about the Java language? Not
API stuff like "make AWT/Swing faster," but rather language-level specifics
such as the assertions that were recently added or the semantics of
Assuming you'll only deploy on Windows platforms, give three reasons why you
would choose Java instead of C#.
These questions covered all facets of Java, and we presented a few here
so you would know what to expect. If you recently had an interview, we'd
love to know the sort of questions you were asked.
. . .
Access the full list at