Beginners Java Questions
1. What are the OOPS concepts in Java ?
2. What is meant by encapsulation ? Explain with an example
3. What is meant by inheritance ? Explain with an example
4. What is meant by polymorphism ? Explain with an example
5. Is multiple inheritance allowed in Java ? Why ?
6. What is meant by Java interpreter ?
7. What is meant by JVM ? How JVM Works?
8. What is a compilation unit ?
9. What is meant by identifiers ?
10. What are the different types of modifiers ?
11. What are the access modifiers in Java ?
12. What are the primitive data types in Java ?
13. What is meant by a wrapper class ?
14. What is meant by static variable and static method ?
15. What is meant by Garbage collection ?
16. What is meant by abstract class
17.What is meant by final class, methods and variables ?
18. What is meant by interface ?
19. What is meant by a resource leak ?
20. What is the difference between interface and abstract class ?
21. What is the difference between public private, protected and static ?
23. What is meant by method overloading ?
24. What is meant by method overriding ?
25. What is singleton class ?
26. What is the difference between an array and a vector ?
27. What is meant by constructor ?
28. What is meant by type casting ?
29. What is the difference between final, finally and finalise ?
30. What is a default package ?
31. What is meant by a super class and how can you call a superclass
32. What is anonymous class ?
33. Name interfaces without a method ?
34. What is the use of an interface ?
35. What is the difference between an Abstract class and Interface ?
36. What is user defined exception ?
37. What do you know about the garbage collector ?
38. what is native keyword in Java?
39 . Explain JVM architecture ?.
40 . What is difference between path and classpath ?
41. What is method ambiguity . How ambiguous overloaded method call
resolve in java ?.
Amazing set of questions. Core Java and Java data structure and algorithm are important topics for interviews.
ReplyDelete