β All Concepts
π³
Inheritance
StructureA relationship that extends one type from another
Inheritance is the relationship where a new class is built on top of an existing class. The child class receives fields and methods from the parent and can add to them or override parts of them to become more specific.