Appropriate constructors destructors


Yacht is a class that is derived from the Boat class. The Boat class has two data members that represent weight and color. The Yacht class has a data member that represents the size of the yacht. Each of the two classes have a member function named printData(). Write the class descriptions for each of the two classes with the appropriate constructors destructors and access specifiers using appropriate naming conventions and data types. Do not write the function implementation.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Appropriate constructors destructors
Reference No:- TGS0536918

Expected delivery within 24 Hours