java interview questions - IT and Government Jobs @ career updates latest

Friday, 14 August 2015

java interview questions

1. What is the most important feature of Java?
2. What do you mean by platform independence?
3.What is a JVM?
4. Are JVM's platform independent?
5. What is the difference between a JDK and a JVM?
6. What is a pointer and does Java support pointers?
7. What is the base class of all classes?
8. Does Java support multiple inheritance?
9. Is Java a pure object oriented language?
10. Are arrays primitive data types?
11. What is difference between Path and Classpath?
12. What are local variables?
13. What are instance variables?
14. How to define a constant variable in Java?
15. Should a main() method be compulsorily declared in all java classes?
16. What is the return type of the main() method?
17. Why is the main() method declared static?
18. What is the arguement of main() method?