Question: Section 4 . 3 - MATH... . . . Consider the implementation of the following class class person { private: int age; int getAge (

Section 4.3- MATH...
...
Consider the implementation of the following class
class person {
private:
int age;
int getAge();
void setName(string);
public:
string name;
person(int, string);
person(string);
person();
void setAge(int);
string getName();
}
How many constructors are in the person class above?
1.
2
3
7
Section 4 . 3 - MATH... . . . Consider the

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 Programming Questions!