1.What is encapsulation in OOP?
2. Encapsulation is also known as?
3. Which keyword helps in encapsulation?
4. Which concept hides internal data from users?
5. What is used to access private data?
6. Example of encapsulation?
7. Main benefit of encapsulation?
8. Which access modifier hides data from other classes?
9. In encapsulation, variables are usually marked as:
10. Getters and setters are used to:
11. What is inheritance in OOP?
12. In inheritance, the existing class is called:
13. In inheritance, the derived class is called:
14. Which is the main benefit of inheritance?
15. Example of inheritance:
16. Inheritance supports:
17. Which keyword is used for inheritance in many languages?
18. When a child class inherits, it gains:
19. Inheritance creates what kind of relationship?
20. Multiple inheritance means:
