Object Oriented Design (series) - Inheritance
This concept is all about having a base component and adding features over it.
🧩 It best describes the idea of
is a from a programming standpoint using the
Let's look at an example! We'll take
Bird is an
Animal, this is why, it has to have access to the
age property and to the
eat behaviour of
❓ Having said that, if we have access to the parent class properties and methods, what is the reason for all of this?