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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?