Question: Create a class called Name that represents a person's name. The class should have fields named firstName representing the person's first name, lastName representing their
Create a class called Name that represents a person's name. The class should have fields named firstName representing the person's first name, lastName representing their last name, and middleInitial representing their middle initial (a single character). Your class should contain only fields for now.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
