How many classes can be derived from a derived class?

How many classes can be derived from a derived class?
A. Only 1
B. At most 1
C. At least 1
D. As many as required
 
Answer: d
Explanation: When a class is to be derived from another derived class, the derived class behaves as a normal base class hence there are no restriction on how many class can be derived from a derived class. The derived class again behaves as a normal superclass.
 

Tìm kiếm

Back
Top