If a base class is inherited from another class and then one class derives it, which inheritance is shown?

Nam Phong

New member
If a base class is inherited from another class and then one class derives it, which inheritance is shown?
A. Multiple
B. Single
C. Hierarchical
D. Multi-level
 
Answer: d
Explanation: If a base class is inherited from another class, single inheritance is shown. But when one more class inherits the derived class, this becomes a multi-level inheritance.
 

Tìm kiếm

Back
Top