Write Static Method Named Findmin Accepts Arraylist Person Objects Named List Person Objec Q43805025
Write a static method named findMin that accepts an ArrayList ofPerson objects named list. Each Person object has private myAge andmyName properties and corresponding public getAge and getNameaccessors. The method must return the name of the youngestperson.
public static String findMin(ArrayList<Person>list){
Expert Answer
Answer to Write a static method named findMin that accepts an ArrayList of Person objects named list. Each Person object has priva…
OR