1.

What is hierarchical inheritance? Give an example.

Answer»

When the properties of one class are inherited by more than one class, it is called hierarchical inheritance. For example, class B, C and D are derived from base class A.



Discussion

No Comment Found