Add a constructor to the Name class that accepts a first name, middle initial, and last name
Question:
Add a constructor to the Name class that accepts a first name, middle initial, and last name as parameters and initializes the Name object’s state with those values.
Data from Problem 7
Create a class called Name that represents a person’s name. The class should have fields representing the person’s first name, last name, and middle initial. (Your class should contain only fields for now.)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Building Java Programs A Back To Basics Approach
ISBN: 9780135471944
5th Edition
Authors: Stuart Reges, Marty Stepp
Question Posted: