Java Interview Questions with Answers

Java Interview Questions with Answers with help you in preparing for your job interviews.

Java Interview Questions with Answers

Java Interview Questions with Answers for freshers

Are you looking for largest database of interview questions for preparing for your interviews then you have reached at right place. We have largest collection of interview questions in Java. Go through all these interview questions and this will help you in refreshing your Java programming knowledge.

Java is very popular programming language and this programming language is in high in demand in the IT Job market. Java is used for writing various kinds of web, mobile and enterprise applications.

You can check What is the use of Java? for complete overview of Java for beginners.

  1. What is Java?
  2. What are important Java Editions or Parts of Java?
  3. Where Java is used?
  4. How Java is Used?

Java Interview Quetions

  1. What are important features of Java?
  2. What is JVM?
  3. What is JRE?
  4. What is JDK?
  5. What are important Java Language Elements?
  6. What are the Fundamentals of OOPS?
  7. What are Java Syntax Rules?
  8. How to set Environment Variable path in Windows Operating environment?
  9. What is a Class?
  10. What is an Object?
  11. What is the difference between constructor and method?
  12. Is Java supports multiple inheritance?
  13. What is an abstract class?
  14. What is an interface?
  15. When do we use abstract class and interface?
  16. How many abstract methods an abstract class can define?
  17. What is the default access modifier for interface methods?
  18. What is this refers in Java?
  19. What is super refers in Java?
  20. What is encapsulation?
  21. What is an abstraction?
  22. What is inheritance?
  23. What is polymorphism in Java?
  24. What are primitive types?
  25. What are wrapper classes?
  26. What is auto boxing?
  27. What is auto unboxing?
  28. What is pass by value?
  29. What is pass by reference?
  30. What are generics?
  31. What are lambda expressions ? (Java SE 8)
  32. What are the ways to implement Java Threads? (by extending Thread or by implementing Runnable interface)
  33. What is the only one method defined in Runnable interface? ( run method)
  34. What are the difference between String and StringBuffer?
  35. What is StringBuilder?
  36. How to extract partial characters from a String?
  37. What are arrays?
  38. What are Java Collections?
  39. What are the difference between arrays and Java Collections?
  40. What is the difference between Vector and ArrayList?
  41. What is the difference between HashMap and HashTable ?
  42. How to sort a collection?
  43. How get current system time?
  44. What is Java Property file?