C o r e J A V A Interview Questions
for Beginners
Asked most of times 90% from the following
1. Difference between final, finally, finalize ?
2. Differences between String and StringBuffer ?
3. Difference between "== operator" and "equals() method" in java ?
4. What are the various modifiers available in java ?
5. Difference between StringBuffer and StringBuilder ?
6. String vs StringBuffer vs StringBuilder?
7. Interface vs abstract class vs concrete class ?
8. Access Specifiers vs Access Modifiers ?
9. Difference between Interface and Absract Class ?
10. Explain about System.out.println(); ?
11. Explain about public static void main(String[] args); ( PART- I ) ?
12. Difference between Overloading and Overriding (part-I) ?
13. Difference between Parent p = new Child(); and Child c = new Child(); ?
14. various possible combinations of try catch finally?
15. Difference between Exception and Error ?
16. Difference between Checked exceptions and Unchecked exceptions ?
17. Differences between fully checked exceptions and partially checked exceptions ?
18. Control flow in try - catch ( Java Exception Handling)?
19. Control flow in try catch finally (Java Exception Handling) ?
20. Difference between Arrays and Collections?
21. Difference between List and Set?
22. Difference between Collection and Collections?
23. Differences between ArrayList and Vector?
24. Differences between ArrayList and LinkedList?
25. How to get Synchronized version of ArrayList?
26. Comparison of the three Cursors of Java?
27. Differences between Comparable and Comparator?
28. JVM Architecture?
29. Thread Lifecycle?
Frequently Asked
1. what are the features of java, Basic Principle of OOPS
2. What is Static block
3. When static block will be executed before main or after main
4. What is difference between Abstract class and Interface?
5. How to make Class as Immutable. Example of Immutable Class in Java
6. What is Access specifier, what is scope of Access specifier?
7. What is difference between? Throw and Throws.
8. How many interfaces in collection framework.
9. How we can convert array to ArrayList.
10. Can we store Arraylist in Map and vice versa?
11. How many ways we can define Hibernate Session .Like
12. Properties’ File and Session Factory.
13. Difference between Save or SaveOrUpdate and Persist Method
14. Difference load () and get ()
15. Difference between () remove and clear ()
16. Different states of Object in Hibernate
17. Spring IOC
18. Bean Life Cycle
19. How to initialize values before bean is created.
20. How many bean scopes are in Spring Explain?
21. Modules in spring
1. Difference between final, finally, finalize ?
2. Differences between String and StringBuffer ?
3. Difference between "== operator" and "equals() method" in java ?
4. What are the various modifiers available in java ?
5. Difference between StringBuffer and StringBuilder ?
6. String vs StringBuffer vs StringBuilder?
7. Interface vs abstract class vs concrete class ?
8. Access Specifiers vs Access Modifiers ?
9. Difference between Interface and Absract Class ?
10. Explain about System.out.println(); ?
11. Explain about public static void main(String[] args); ( PART- I ) ?
12. Difference between Overloading and Overriding (part-I) ?
13. Difference between Parent p = new Child(); and Child c = new Child(); ?
14. various possible combinations of try catch finally?
15. Difference between Exception and Error ?
16. Difference between Checked exceptions and Unchecked exceptions ?
17. Differences between fully checked exceptions and partially checked exceptions ?
18. Control flow in try - catch ( Java Exception Handling)?
19. Control flow in try catch finally (Java Exception Handling) ?
20. Difference between Arrays and Collections?
21. Difference between List and Set?
22. Difference between Collection and Collections?
23. Differences between ArrayList and Vector?
24. Differences between ArrayList and LinkedList?
25. How to get Synchronized version of ArrayList?
26. Comparison of the three Cursors of Java?
27. Differences between Comparable and Comparator?
28. JVM Architecture?
29. Thread Lifecycle?
Frequently Asked
1. what are the features of java, Basic Principle of OOPS
2. What is Static block
3. When static block will be executed before main or after main
4. What is difference between Abstract class and Interface?
5. How to make Class as Immutable. Example of Immutable Class in Java
6. What is Access specifier, what is scope of Access specifier?
7. What is difference between? Throw and Throws.
8. How many interfaces in collection framework.
9. How we can convert array to ArrayList.
10. Can we store Arraylist in Map and vice versa?
11. How many ways we can define Hibernate Session .Like
12. Properties’ File and Session Factory.
13. Difference between Save or SaveOrUpdate and Persist Method
14. Difference load () and get ()
15. Difference between () remove and clear ()
16. Different states of Object in Hibernate
17. Spring IOC
18. Bean Life Cycle
19. How to initialize values before bean is created.
20. How many bean scopes are in Spring Explain?
21. Modules in spring