- What is the flaw with the Stack class?
- Explain the Java Class loader mechanism. How would you prevent someone from overriding the java.lang.Object class?
- Can interfaces contain inner classes?
- How does garbage collection work?
- Explain how you would get a Thread Deadlock with a code example?
- What happens when you try to serialize a class whose base class does not implement serializable?
- How can you prevent flow of control to a finally { } clause?
- I write two classes : I write a static method in the base class and override that static method in the child class. Will this code compile?
- Write a program that prints a.b.c.a.b.c...and so on 100 times using threads?
- What happens if you try to start a thread thats already been started?
- What are the main benefits of using Spring on a project ?
- What is AOP ?
- How hibernate implements lazy loading ?
- What is the second level cache in Hibernate ?
- What is the difference between load and get method in hibernate?