Create a Person class containing the following state and behavior as identified

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.
ObjectStateBehaviorPersonFirst NameLast NameAgeGenderSSN
getters/setters

Published

Leave a comment

Your email address will not be published.