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:
a Default constructor does absolutely nothing
A constructor that accepts a last name, first name and SSN; it will populate those member attributes
a constructor accepting only last name and first name; it will populate those member attributes the text into the assignment on BrightSpace.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
