Inheritance
Inheritance lets one class (the child) reuse and extend the properties and methods of another class (the parent), avoiding repeated code.
Inheritance lets one class (the child) reuse and extend the properties and methods of another class (the parent), avoiding repeated code.