Home »
MCQs »
OOPs MCQs
In which type of inheritance does one class act as a superclass for more than one sub-class?
62. In which type of inheritance does one class act as a superclass for more than one sub-class?
- Hybrid inheritance
- Multiple inheritances
- Hierarchical inheritance
- Multilevel inheritance
Answer: C) Hierarchical inheritance
Explanation:
In Hierarchical inheritance one class act as a superclass for more than one subclass.