What are the 2 steps in Java compilation?
What is JVM? What is the use of JVM?
How does Java ensure portability/Platform independence?
What is the difference between JRE, JDK and JVM. What are part of each of them?
What is class loader? What is bootstrap class loader?
What is JIT?
What is the static key word used for in a method? (Example in: public static void
main)
Explain exception handling with an example
What is compile time and run time exception handling
What is the difference between Throw, Throws and Throwable? Show examples of where
they are used
What is the difference between final, finally & finalize keywords? Show examples of
where they are used.
What is Wrapper Class?
What is autoboxing and unboxing?
How do you create a thread in Java?
What is the difference between a process and a thread?
How do you synchronize threads?
What is wait and notify, notifyAll()? Do you use them?
What is a stream? Give an example
What is Serialization & De-serialization - give an example
What is a garbage collector in Java? When does it come into play?
Can you call Garbage collector? How?
What is the difference between compile time exception and run time exception?
Explain with an example.
What is the use of finalize method?
What is the difference between synchronization and serialization?
Java Collections
what is a package?
What is the difference between set and map?
What is the difference between LinkedHashMap & TreeMap?
What is genrics?
What is a vector?
What is the difference between Vector and ArrayList
What is the difference between a stack and queue?
What is the collections hierarchy?
Write an example program to iterate all the elements in a LinkedHashMap
Where is Comparable used? Give an example.
What is an inline function?
Which one of these is/are synchroized? What do you mean by Synchronized?
(Vector, ArrayList, Stack, Map)
OOPS SECTION
=============
What is the difference between class and object?
What are the core concepts in oops?
What is a constructor? Show an example.
Explain copy constructor with an example
What are access modifiers and what is the use of each of the modifiers (Answer:
Students should explain private, protected, public in detail)
What is the default access specifier in a class? What is difference between private
and default access specifier?
What is inheritance? Explain with an example
What is a base class, super class and sub class?
What are the different types of inheritance supported?
Is multiple inheritance supported in Java?
What is diamond problem in multiple inheritance?
How do you call a method of super class from sub class?
What is polymorphism? Explain with an example.
What is meant by runtime polymorphism in java. Explain with an example.
What is compile time polymorphism. Explain with an example.
How is data abstraction established in Java?
What is encapsulation? Explain with an example.
What is the difference between abstract class and interface?
Can you create an instance of an abstract class? Why?
what is the difference between overloading and overriding?
What is meant by method overriding? When is it used?
What is the difference between early and late binding?