Question: Use C Write the class definition (header) that has the following properties: The name of the class is SecretType The class has four member variables

Use C
Use C Write the class definition (header) that has the following properties:

Write the class definition (header) that has the following properties: The name of the class is SecretType The class has four member variables (attributes) as follows: name is a string type age and weight are of type integer height is of type double The class has the following methods: print -- outputs the data stored in the member variables with appropriate titles. Getters/Setters for all of the member variables Constructor using default parameters where name will have default value of "", age, weight, and height will have a default value of zero. DO NOT DEFINE/WRITE ANY METHODS WITHIN YOUR CLASS DEFINITION

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!