| Java Interview Questions and Answers |
|
|
what is the difference between EJB and Hibernate?
|
|
|
|
How would you implement a thread pool?
|
|
|
|
What are the advantages and disadvantages of reference counting in garbage collection?
|
|
|
|
What are the differences between JIT and HotSpot?
|
|
|
|
|
|
|
|
Why java is said to be pass-by-value ?
|
|
|
|
What are the access modifiers available in Java
|
|
|
|
What is the difference among JVM Spec, JVM Implementation, JVM Runtime ?
|
|
|
|
What is the difference between a switch statement and an if statement?
|
|
|
|
What are synchronized methods and synchronized statements?
|
|
|
|
What are the different ways in which a thread can enter into waiting state?
|
|
|
|
What is the difference between static and non static variables ?
|
|
|
|
What is the difference between notify and notifyAll method?
|
|
|
|
What are different type of exceptions in Java?
|
|