Class inheritance
The definitive property of the object-oriented approach-
Meaning
The phrase "class B inherits from class A", means B has all the member data and functions of A.
One can say that class B is a kind of A.
-
Equivalent terminology
-
Hierarchy
-
Examples