Advertisements
Advertisements
Question
What is another name of multilevel inheritance?
Options
Single inheritance
Nested inheritance
Multiple inheritance
Derived inheritance
MCQ
Solution
Nested inheritance
Explanation:
- Multilevel inheritance is a chain of inheritance in which one class inherits from another, which is then inherited by another. It establishes a class hierarchy.
- Nested inheritance is an alternate term for multilevel inheritance since it entails deriving a class from a sequence of parent classes, resulting in numerous layers.
shaalaa.com
Is there an error in this question or solution?