Question: . Write a Person class that contains the following fields and methods: First Name Last Name A unique ID Number ( say , 1 0
Write a Person class that contains the following fields and methods:
First Name
Last Name
A unique ID Number say etc. The ID should be assigned by the
computer. Use a class variable to keep track of the last ID assigned so that you dont
repeat the same number twice.
Necessary constructors.
Methods to return last name, first name, full name, and ID Number
Methods to print last name, first name, and ID Number
The toString method t
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
