1. quick , merge sort 2. hibernate caching 3. sessionfactory vs session 4. Spring DI, constructor vs setter DI, which is better 5. exception vs error 6. runtime vs comile time error, need 7. classDefException vs noClassfoundExcption ,which 1 occurs at compile time,how to avoid compile excption 8. arraylist vs linkedList 9. hashset 10. datastructure for hashset n arraylist 11. internal working of hashset 12. Employee e =new employee(); Employee e1= e; e == null; syso(e1) ?
Developer Java Interview Questions
30,826 developer java interview questions shared by candidates
1) Exceptional Handing in Spring 2) Fail fast and Fail safe collections.
Implement a thread-safe Singleton.
Their questions are simple. But they did not ask the questions clearly. They want to see how to react to the unclear. For example, they ask you to write a recursive Java function.
I was asked to implement the Singleton pattern using lazy-loading, which was easy enough, but them the question continued with other implementations of the pattern specifically around multi-threading.
Assignment is hard if you don't know the various topics but you can google it to finish the project.
A big truck and a small tunnel. The driver wants to cross the tunnel gate how will he do it ?
Design Pattern
Java 8, Multi threading, Collections, Microservices, Spring Boot and SQL
Can the main method of the main class be final?
Viewing 3771 - 3780 interview questions