Java Developer Interview Question
Java Developer Interview Question
1. What are the Data Types supported by Java ? What is Autoboxing and
Unboxing ?
2. What is the difference between an Interface and an Abstract class?
3. Difference between this() and super() in java ?
4. Why main() method is public, static and void in java ?
5. Difference between overriding and overloading in java?
6. In how many ways we can do exception handling in java?
7. Explain differences between checked and Unchecked exceptions in java?
8. Explain throw keyword in java?
9. Explain importance of throws keyword in java?
10. Explain the life cycle of thread?
11. Explain what is encapsulation?
12. What is inheritance ?
13. Explain importance of inheritance in java?
14. What is polymorphism in java?
15. Difference between Array and ArrayList ?
16. Difference between Comparator and Comparable in java?
17. Difference between arraylist and linkedlist?
18. Difference between Concurrent HashMap and synchronizedHashMap and
Normal Hashmap?
19. Explain the internal working of HashMap ?
20. What is marker Interface ?
21. Difference between == and equals() method in java ?
22. What is Functional Interface ?
23. What is Lambda Expression And how it works internally ?
24. What is Singleton Class and How to make it ?
25. What is Immutable Class How to make our own customizable Immutable
Class ?
26. Explain static keyword ?
27. Explain HashSet Internal Working ?
28. What is Interface explain its features ?
29. How can we Achieve multiple inheritance in java ?
30. What is Co Variant in java ?
JAVA DEVELOPER INTERVIEW QUESTIONS IT EXPERTS
1. What is Servlet ?
2. Explain about the servlet lifecycle ?
3. Diffrence between generic servlet and Http servlet ?
4. What is servlet context ?
5. What is web.xml or deployment descriptor ?
6. In how many ways we can deploy our web application in tomcat server ?
7. What is server container and web container ?
8. Explain minimum 5 tags from the web.xml ?
9. What is public and private pages in the servlet ?
10. What is the difference between doGet and doPost method ?
11. How does servlet works ?
12. What is request dispatcher and sendRedirect?
13. What is Jsp ? Explain how it is different from html ?
14. What are scriptlets ?
15. What are expressions ?
16. How are the jsp request handled?
17. What is JDBC ?
18. Explain the role of Driver in JDBC ?
19. What is the purpose of Class.forName method ?
20. What is Statement ?
21. What is Prepared Statement and Callable Statement and what is the
difference in both ?
22. What is connection pool ?
JAVA DEVELOPER INTERVIEW QUESTIONS IT EXPERTS