1 Use Separate Source Files Header Files Create Class Represent Desks Desk Object Attribu Q37025579

1. Use separate source files and header files to create a class to represent desks. a. A desk object has attributes of color1. Use separate source files and header files to create a class to represent desks. a. A desk object has attributes of color (string) and number of drawers (integer). b. Member functions (methods) are as follows (no additional ones may be created): i. Using a constructor initializer list, create a constructor with default parameter values of “Steel Blue” and 4, and that displays “InltConstructor calledin” ii. individual const get methods (in-line) for each attribute ii.

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.