Inheritance

When an object or class is based on another object or class, using the same implem​ent​ation; it is a mechanism for code reuse. The relati​onships of objects or classes through inheri​tance give rise to a hierarchy.