Create a class Vehicle and three additional classes (each derived from Vehicle) named Car, Truck and Boat. The member attributes and functions for each class are given below. Make parametrized constructor for all classes.Vehicle:private:int wheels;float weight;int model;int passenger_capicty;public:void print_info()=0;Car:public:void print_info();Truck:private:float load_capicty;public:void print_info();Boat:public:void print_info();
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here