One of the four pillars of object-oriented programming (OOP), inheritance supports reusable code. When a class inherits from another class (super or parent), it takes on properties and methods that were declared in the superclass.
Get creative with your example code snippets and keep it original 👍
Let us know if you want to write this!