Question: Name.h The Name class models a Name object. A Name object has the following private instance variables: last _ name : std::string first _ name

Name.h
The Name class models a Name object. A Name object has the following
private instance variables:
last_name : std::string
first_name : std::string
middle_name : std::string
The Name class should include setters and getters for all instance variables.
The Name class has three constructors:
A parameter-less constructor that initializes all instance variables with
the empty string
A constructor that has a parameter for each instance variable
A copy constructor that creates a Name object that is a copy of the
parameter
The Name class also contains a public member function, showName(), that
displays the name as shown here:

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!