Java - Top 15 Most Important Questions for Exam
1. Define OOP and explain the basic principles of Object-Oriented Programming.
2. Explain the advantages and applications of Object-Oriented Programming.
3. Differentiate between C, C++ and Java.
4. Explain JDK, JRE, JVM and API.
5. Explain the structure of a Java program with example.
6. Define class and object with suitable example.
7. Explain constructors in Java with example.
8. Explain method overloading and constructor overloading.
9. Explain access modifiers and static members in Java.
10. Explain one-dimensional and two-dimensional arrays.
11. Explain String handling functions in Java.
12. Explain thread life cycle and creation of threads in Java.
13. Explain exception handling using try, catch, finally, throw and throws.
14. Explain FileInputStream and FileOutputStream classes.
15. Explain AWT, event handling and layout managers in Java.