Unit – I: Fundamentals of Object-Oriented Programming
2 Marks Questions
1. Define Object and Class.
2. What is abstraction in OOP?
3. Define encapsulation with an example.
4. What is polymorphism?
5. List any four features of Java.
6. What are identifiers in Java?
7. What are keywords? Give two examples.
8. Define constants and variables with examples.
9. Write the syntax for array declaration in Java.
10. Name any two methods of the Math class.
5 Marks Questions
1. Explain the fundamental principles of OOP with suitable examples.
2. Differentiate between Java and C programming.
3. Explain the history and evolution of Java.
4. Write a short note on Java data types with examples.
5. Describe decision-making statements in Java with examples.
6. Explain looping statements in Java with examples
7. Explain the steps involved in creation of arrays in Java.
Unit – II: Classes and Inheritance
2 Marks Questions
1. Define constructor.
2. What is constructor overloading?
3. Differentiate between method overloading and method overriding.
4. Define super keyword with an example.
5. What is static variable?
6. Define final variable.
7. What is dynamic method dispatch?
8. What is an abstract class?
9. What is the role of the finalize() method?
10. What are visibility controls in Java?
5 Marks Questions
1. Explain constructor overloading with a suitable program.
2. Differentiate between method overloading and method overriding with examples.
3. Explain inheritance and its types with a neat diagram.
4. Explain dynamic method dispatch with a Java program.
5. Write a note on final variables, final methods, and final classes.
6. Discuss visibility controls in Java with access specifiers.