OOPs Inheritance Interview Questions and Answers MCQ Quiz

Inheritance & Reusability Quiz

1. What is Inheritance in OOPS?

2. Which keyword is used for inheritance in Java?

3. A class that is inherited is called?

4. A class that inherits another class is called?

5. Which type of inheritance is NOT supported in Java (with classes)?

6. Java supports multiple inheritance using?

7. What is the default access modifier for inherited members?

8. Which members are NOT inherited?

9. Which keyword is used to refer parent class members?

10. What is multilevel inheritance?

11. What is hierarchical inheritance?

12. Can a subclass access private members of parent?

13. What happens if subclass does not define its own constructor?

14. What is method overriding related to?

15. Which is true about constructor inheritance?

16. Which is true about final class?

17. Which keyword prevents inheritance?

18. Which is NOT a benefit of inheritance?