Menu

(Solved) : Inheritance Create Base Class Called Vehicle Manufacturer S Name Type String Number Cylind Q37131355 . . .

Inheritance:

Create a base class called Vehicle that has themanufacturer’s name (type string), number of cylinders (type int),and owner (type string). Then create a class calledTruck that is derived fromVehicle and has additional properties: the loadcapacity in tons ( type double) and towing capacity in pounds (typeint). Be sure your classes have a reasonable complement ofconstructors, destructor, and set /get functions. Write a driverprogram that tests all your member functions.

java eclipse

Please make sure everything is answered the way the questionasks.

Expert Answer


Answer to Inheritance Create Base Class Called Vehicle Manufacturer S Name Type String Number Cylind Q37131355 . . .

OR