ICSE Class 10 Computer Applications Question 11 of 16

Encapsulation and Inheritance — Question 13

Back to all questions
13
Question

Question 13

How is inheritance transitive? Explain.

Answer

The transitive nature of inheritance means if class B is derived from class A, class B will inherit all the properties of class A. Now all the sub classes of class B will also be able to inherit properties of class A because of the transitive nature of inheritance.