Inheritance can be stated to be a procedure of attaining the facets and behaviors relating to a class by another class. The class from which the members get inherited may be referred to as the base class, but the class that tends to inherit those members is known as the derived class....