Total Questions : 20
Expected Time : 20 Minutes

1. What is the purpose of the 'super' keyword in OOP, and when is it typically used?

2. What is the role of an abstract factory in OOP, and how does it differ from a factory method?

3. Examine the concept of composition over inheritance in object-oriented programming.

4. What is a constructor in OOP?

5. Explain the concept of a singleton class in OOP and provide a scenario where it is beneficial.

6. Explain the concept of encapsulation in Object-Oriented Programming (OOP).

7. What does polymorphism mean in the context of Object-Oriented Programming?

8. What is the role of the 'final' keyword in OOP, and when is it commonly used?

9. Why is abstraction important in Object-Oriented Programming, and how does it simplify code?

10. What is encapsulation in Object-Oriented Programming?

11. Examine the differences between composition and inheritance in OOP.

12. Explain the concept of a factory method in object-oriented programming.

13. What is a static method in OOP?

14. What is the purpose of the 'this' keyword in object-oriented programming?

15. What is a virtual method in OOP?

16. What is the role of the 'interface' keyword in OOP, and how is it used?

17. What is a class in Object-Oriented Programming?

18. In OOP, what is the purpose of the 'abstract' keyword?

19. What is the 'this' keyword in OOP languages like Java and C#?

20. Discuss the advantages and disadvantages of using multiple inheritance in object-oriented programming.