Advertisements
Advertisements
Question
Inheritance is a transitive property.
Options
True
False
MCQ
True or False
Solution
This statement is True.
Explanation:
Inheritance is regarded as a transitive attribute; if Class B derives from Class A, and Class C derives from Class B, then Class C indirectly derives from Class A. This property enables objects in derived classes to utilize attributes and methods from their complete inheritance structure.
shaalaa.com
Is there an error in this question or solution?