Application of inheritance and derived using the v
no vote
Life of a car (vehicle) class, MaxSpeed, weight and other Member variables, Run, Stop, member functions, derived Bicycle, car class. Bike class has properties such as height, car seats and other properties. Classes derived from Bicycle car motorcycle, in the succession process is set to the virtual base class vehicle.