Transitive Nature of Inheritance.

Q22. What do you mean by transitive nature of inheritance?

Ans. The transitive nature of inheritance states that if a class A inherits properties from its base class B then all its subclasses will also be inheriting the properties of base class of A that is, B.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: