So now we know that the class which inherits behaviours is called sub-class and the class it inherits from is called the super-class. Inheritance refers to this ability of an class to take on one or more characteristics from other classes.
To further understand, let's look at the next example on EnginePoweredVehicle: