Question: Modify your personType class to include 3 constructors: (In C++) 1. default constructor that takes no parameters 2. constructor which is only passed first name
Modify your personType class to include 3 constructors: (In C++)
1. default constructor that takes no parameters
2. constructor which is only passed first name and last name
3. constructor which is passed all the data members.
4. Create 1 destructor as shown during the zoom meeting, but do not call it within int main();
Create a driver program that creates 3 different people using the 3 different constructors. After creating the 3 different people using your 3 different constructors, finish populating them using the appropriate setters in int main(). Finally, neatly print them. (pictures are in order, personType.h, personType.cpp, driver.cpp)



using Linux terminal if possible
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
