inheritance is a property in which the derived class inherits the property of the base class. Suppose class A is a parent class and class B is its derived class then class B will inherit the...