Question: in java Write a Person class that contains the following fields and methods: First Name Last Name A unique ID Number (say, 1001, 1002, etc.).

in java
Write a Person class that contains the following fields and methods: First Name Last Name A unique ID Number (say, 1001, 1002, etc.). The ID should be assigned by the computer. Use a class variable to keep track of the last ID assigned so that you don't 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 that returns a neatly formatted string describing the key attributes of the person. Write a PersonTester class to test your class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
