In Object Oriented Programming, a base class is one from which other classes inherit. For example, a child-class `Male` and another child-class `Female` may both inherit from the base-class `Human`.
In Object Oriented Programming, a base class is one from which other classes inherit. For example, a child-class Male
and another child-class Female
may both inherit from the base-class Human
. As a result of such an inheritance, each of them will have at least all the attributes and methods of the class Human
and perhaps a few others.