
A class can inherit from another using extends. The child class gets all the parent's methods automatically. Use super() inside the child constructor to call the parent constructor. Override a parent method by defining a method with the same name in the child. Inheritance allows you to build specialized classes from general ones without duplicating code.
Reference:
TaskLoco™ — The Sticky Note GOAT