75 Core java interview questions to get job easily

75 Core java interview questions to get job easily
Spread the love

Here is the best of core java interview questions for freshers and experience guys

  1. Who is the founder of Java  ?
  2. What is the latest version of Java ?
  3. Why it’s Best from c and C++ ?
  4. What are the best frameworks in Java ?
  5. Explain the significance of class loaders in Bootstrap?
  6. Differentiate call by value and call by reference ?
  7. What is the difference between JDK, JRE, and JVM?
  8. What are the various access specifiers in Java?
  9. What do you understand by looping in java? Explain the different types of loops.
  10.  Outline the major features of Java.
  11. Compare java and python.
  12. What do you mean by an object in java?
  13. What do you understand by classes in java?
  14. Define inheritance with reference to Java.
  15. Differentiate between StringBuffer and StringBuilder in java.
  16. Differentiate between array list and vector in java.
  17. Define an abstract class with reference to Java.
  18. Explain constructors and types of constructors in java.
  19. Name and explain the types of ways which are used to pass arguments in any function in java.
  20. Explain super keyword in java.
  21. What do you understand by overloading and overriding in java?
  22. What mechanism does Java use for memory management?
  23. Why we do exception handling in java and how many types of exceptions are there?
  24. When will we prefer to use Set and List in Java and why?
  25. What is the purpose of final keyword and when to use it?
  26. What is early binding and late binding in Java?
  27. Why we use multi threading instead of multiprocessing?
  28. How Thread Scheduler schedule the task?
  29. How deadlock situation occurs in java and how you can identify it?
  30. Justify your answer that you can’t define a method inside another method in java, if you can then how?
  31. Why object class is super class for every class in java?
  32. What is the difference between overloading and overriding?
  33. What is the difference between an interface and an abstract class?
  34. Explain what are final variable in Java?
  35. Why do we create public static method in Java?
  36. What is an Abstract class?
  37. What are different exception types exceptions available in Java ?
  38. What is the difference between Class and object In JAVA?
  39. What are design patterns and please explain?
  40. Write code to implement bubble sort in Java?
  41. What is JVM? How its run?
  42. Write a program to check for a prime number in Java?
  43. Write a program to find the greatest of three numbers in Java?
  44. Write a program to find the last 2nd number in the string
  45. What is hashing in Java?
  46. Explain the difference between call by reference and call by value?
  47. What are structs in java?
  48. Write a java program for binary search?
  49. What are Mutable classes?
  50. What is abstraction?
  51. Explain how HashMap works?
  52. Write a factorial program using recursion in Java?
  53. What is Operator overloading. Is it is supported in java?
  54. How to avoid a memory leak in JAVA?
  55. How can we create a synchronized collection from given collection?
  56. What is Singleton design pattern?
  57. What is Difference between equals and hashcode method?
  58. Explain Dependency Injection and its types?
  59. What is the difference between String buffer and String builder ?
  60. What are the 4 pillars of object oriented programming?
  61. What are abstract functions? Why are they used?
  62. List types of storage classes in java?
  63. Write a java program to generate Fibonacci series ?
  64. How does the garbage collector works in Java?
  65. What is the difference between throw and throws ?
  66. Write a program to check String is Palindrome without using loop?
  67. What is used of static keyword in Java?
  68. What is the difference between java and c?
  69. Why is string buffer better than string ?
  70. Explain exception chaining in Java?
  71. What is OutOfMemoryError in Java?
  72. What is the difference between final and finally in Java?
  73. What is Exception in Java?
  74. How to write custom exception in Java?
  75. What is the difference between a checked and an unchecked exception?
  76. What are meta-annotations?


Leave a Reply

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