
Classes can have 'Children' that is, one class can be created out of another class. The original or parent class is known as the SuperClass (or base class). The child class is known as the SubClass (or derived class).
A SubClass inherits all the attributes and behaviors of the SuperClass, and may have additional attributes and behaviors.
Another example of inheritance BELOW is called a Single Inheritance.
The attributes and operations in the diagram below are for vehicle class, which the SubClass inherits. Extra operation is the land Vehicle works only on Land and the water vehicle works only in water.

Next example below is of Multiple Inheritance
| << Encapsulation | Polymorphism >> |