14 - Inheritance πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ & Super! 🦸🏻

Classes can be similar and inherit from their ancestors.

What are we learning?

In this lesson we will:

🀸🏻 Humans are a mammal - we have lungs and live births.
🐳 Whales are also a mammal.
πŸ¦’ So are Giraffes.

All of those "subclasses" of mammal share certain traits, but are also unique in various ways.

Similarly, classes in OOP can inherit properties and methods (called members) from their parent or superclass.

Everything is in the README of the Repo πŸ“„

14 - Inheritance and Super πŸ‘ˆ click for the lesson repo