If a base class is being derived by two other classes, which inheritance will that be called?

If a base class is being derived by two other classes, which inheritance will that be called?
A. Single
B. Multiple
C. Multi-level
D. Hierarchical
 
Answer: d
Explanation: When more than one classes are being derived from a single parent class, the inheritance is known as hierarchical inheritance. This is usually useful when the base class is higher abstraction of its derived classes.
 

Tìm kiếm

Back
Top