Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

TECHNICAL QUESTIONS FOR JAVA (Fresher’s)

1. What are the various access specifiers for Java classes?

2. What's the purpose of Static methods and static variables?

3. What is data encapsulation and what's its significance?

4. What is a singleton class? Give a practical example of its usage.

5. What are Loops in Java? What are three types of loops?

6. What is an infinite Loop? How infinite loop is declared?

7. What is the difference between double and float variables in Java?

8. Why Java is not 100% Object-oriented?

9. What is Final Keyword in Java? Give an example.

10. What is ternary operator?

11. Why Java is not 100% Object-oriented?

12. What are wrapper classes in Java?

13. What is an infinite loop in Java? Explain with an example.

14. What is a class loader in Java?

15. What is Polymorphism?

16. What is encapsulation in Java?

17. What is an association?

18. What do you mean by aggregation?

19. What is a copy constructor in Java?


20. What is a constructor overloading in Java?

21. What is Request Dispatcher?

22. How does a cookie work in Servlets?

23. What are the steps to connect to a database in java?

24. What is the role of JDBC DriverManager Class?

25. What is JDBC Connection interface?

26. What is the purpose of JDBC Result Set interface?

27. What is JDBC ResultSetMetadata interface?

28. What is JDBC DatabaseMetadata interface?

29. What do you mean by batch processing in JDBC?

30. What the difference is between execute, execute Query, execute Update?

You might also like