Which among the following best defines multilevel inheritance?

Which among the following best defines multilevel inheritance?
A. A class derived from another derived class
B. Classes being derived from other derived classes
C. Continuing single level inheritance
D. Class which have more than one parent
 
Answer: b
Explanation: Only if the class is being derived from other derived class, it can be called as multilevel inheritance. If a class is derived from another class, it is single level inheritance. There must be more than one level of inheritance.
 

Tìm kiếm

Back
Top