35+ Core Java Interview Questions That You Should Know

35+ Core Java Interview Questions That You Should Know

Let’s have a look at the 35+ Java interview questions that you should know and prepare for your interview.

35+ Core Java Interview Questions That You Should Know

  1. What is Java?
  2. What are the differences between C++ and Java?
  3. List the features the of Java Programming language.
  4. What do you understand by Java virtual machine?
  5. What is the difference between JDK, JRE, and JVM?
  6. How many types of memory areas are allocated by JVM?
  7. What is the Just In Time compiler?
  8. What is classloader?
  9. What if I write static public void instead of the public static void?
  10. What is an object-oriented paradigm?
  11. What is the difference between an object-oriented programming language and an object-based programming language?
  12. What is the constructor and How many types of constructors are used in Java?
  13. What do you understand by copy constructor in Java?
  14. What are the differences between the constructors and methods?
  15. What is the static variable?
  16. What is the difference between the static (class) method and the instance method?
  17. What are the various access specifiers in Java?
  18. Can we override the static methods?
  19. Can we execute a program without main() method?
  20. Can you use this() and super() both in a constructor?
  21. What is the final blank variable?
  22. Can we declare a constructor as final?
  23. What is the difference between the final method and the abstract method?
  24. What is Runtime Polymorphism?
  25. What is the difference between static binding and dynamic binding?
  26. What is Java instanceOf operator?
  27. What is abstraction?
  28. What is the difference between abstraction and encapsulation?
  29. Can you use abstract and final both with a method?
  30. Can you declare an interface method static?
  31. What are the differences between abstract class and interface?
  32. Can we define private and protected modifiers for the members in interfaces?
  33. What are the advantages of Encapsulation in Java?
  34. What is the static import?
  35. What is Exception Handling?
  36. What is the difference between Checked Exception and Unchecked Exception?

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *