Top 10 Core Java Interview Questions:
1. Write a program for singleton class in java.
2. Write a program in java for printing 1-10 numbers without loop.
3. What is the difference between jdk and jre in java.
4. Difference between String and String builder in java.
5. Difference between String builder and String buffer.
6. What is the use of final keyword in java?
7. What is the use of this keyword in java?
8. What is the use of static keyword in java?
9. Why main method is static in java?
10. Can we create main method without static keyword?
Note: Please let me know in comment box if you need answers for these questions.
It was nice post
ReplyDeleteReally nice to study for interview
ReplyDeleteReally nice post
ReplyDelete