@shmVirus

Inheritance

Sharing behaviour across related types through class hierarchies and method overriding.

Inheritance lets a class reuse and extend the behaviour of another. This chapter covers base and derived classes, method overriding, calling parent constructors, the is-a relationship, and common misuses that lead to fragile designs.