Inheritance allows us to define a class that inherits all the methods and properties from another class. The newly created class is known as the subclass (child class,derived class or sub class). The ...