0% found this document useful (0 votes)
23 views

Core Java Interview Questions

Java question

Uploaded by

bhoomi9122singh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Core Java Interview Questions

Java question

Uploaded by

bhoomi9122singh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Core Java Interview Questions

1. What are the features of Java Programming language.

2. What do you understand by Java virtual machine?

3. What is the difference between JDK, JRE, and JVM?

4. How many types of memory areas are allocated by JVM?

5. What is JIT compiler?

6. What is the default value of the local variables?

7. What are the various access specifiers in Java?

8. What is the purpose of static methods and variables?

9. What are the advantages of Packages in Java?

10. What is object-oriented paradigm?

11. What is the difference between an object-oriented programming


language and object-based programming language?

12. What will be the initial value of an object reference which is defined as
an instance variable?

13. What is the constructor?

14. How many types of constructors are used in Java?

15. What is the purpose of a default constructor?

16. Can we overload the constructors?

17. What do you understand by copy constructor in Java?

18. What are the differences between the constructors and methods?

19. What is the static variable?

20. What is the difference between static (class) method and instance
method?
21. Can we declare the static variables and methods in an abstract class?

22. What is this keyword in java?

23. What are the main uses of this keyword?

24. What is the Inheritance?

25. Why is Inheritance used in Java?

26. What is aggregation?

27. What is super in java?

28. What are the differences between this and super keyword?

29. What is method overloading?

30. What is method overriding:

31. Difference between method Overloading and Overriding.

32. What is the final variable?

33. What is the difference between compile-time polymorphism and


runtime polymorphism?

34. What is the abstraction? What is the abstract class?

35. What is the interface?

36. What are the differences between abstract class and interface?

37. What are the advantages of Encapsulation in Java?

38. What is the package?

39. What are the advantages of defining packages in Java?

40. What is the static import?

You might also like