Question: Develop a class called Person, using MY attribute names. This will be all in one file, not splitting it into . cpp and . h

Develop a class called "Person", using MY attribute names. This will be all in one file, not splitting it into .cpp and .h files.
What defines a person are the following:
Additionally, you'll define two methods to modify (setSSN) and retrieve (getSSN) the SSN value.
The user of your class should not be able to directly access ssn.
There will be three constructors:
1) a Default constructor (does absolutely nothing)
2) A constructor that accepts a last name, first name and SSN; it will populate those member attributes
3) a constructor accepting only last name and first name; it will populate those member attributes the text into the assignment on BrightSpace.
Develop a class called "Person", using MY

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!