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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!