1. Inheritance - Concept #

Created Sunday 26 April 2020

Why inheritance #

For example, if we can specify the concept (class actually) of a Car from a more general concept of Vehicle,Car will have all/most properties of Vehicle, although more information will be added to really make it a Car. Some more examples are Shape <-- Circle, Person <-- Student.

How is inheritance done #