Advertisements
Advertisements
प्रश्न
What is another name of multilevel inheritance?
विकल्प
Single inheritance
Nested inheritance
Multiple inheritance
Derived inheritance
MCQ
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?