Newbie Java questions
1. If Runnable interface is better than Thread class, than why we are using Thread class? What is the need for Thread class?
2. Why we are calling System.gc() method to garbage collection of unused object, if garbage collection is automatically done in Java by daemon thread in background process with regular interval?
3. What is the significance of Marker interface? Why are we using, even though it has no method?
4. Why we are always doing rs.next() in first line of while loop in retrieving data from database through result set?
5. Please give me the details of synchronization? And which are the methods and elements used in it and why only that methods and variables?
6. Why we are not using Java in real time based application, but instead we are using C or C++?
7. Detail difference between 4 types of driver and their use in different different applications?
8. Is Java code with native methods platform-independent?
9. Why is the compiler platform-independent, while JVM is platform-dependent?\
10. Mention different type of compilers and interpreters in Java?
Simple Java questions
1. Meaning – Abstract classes, abstract methods
2. Difference – Java,C++
3. Difference between == and equals method
4. Explain Java security model
5. Explain working of Java Virtual Machine (JVM)
6. Difference: Java Beans, Servlets
7. Difference: AWT, Swing
8. Disadvantages of Java
9. What is BYTE Code ?
10. What gives java it’s “write once and run anywhere” nature?
11. Does Java have “goto”?
12. What is the meaning of “final” keyword?
13. Can I create final executable from Java?
14. Explain Garbage collection mechanism in Java
15. Why Java is not 100% pure object oriented language?
16. What are interfaces? or How to support multiple inhertance in Java?
17. How to use C++ code in Java Program?
18. Difference between “APPLET” and “APPLICATION”
Tags: Interview, java, Question


There is a great share of your knowledge in the field in this post. I like how you put things. I’ve added this blog to my boomarks and will check back often. I did have a problem with how fast this post loaded. Might be an issue to look into.