Question: Create a Person class containing the following state and behavior as identified below. In addition, the program should implement a getOldestPerson() method that returns the
Create a Person class containing the following state and behavior as identified below. In addition, the program should implement a getOldestPerson() method that returns the full name of the oldest person. You must also create a PersonTest class to store at least five Person and return the older person from the list.
| Object | State | Behavior |
| Person | First Name Last Name Age Gender SSN | getters/setters |
also, the assignment requires arraylist and not have the user key in the 5 entries
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
