Computer Applications
How is inheritance transitive? Explain.
Encapsulation & Inheritance in Java
1 Like
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.
Answered By
2 Likes