Person () { List<Person> personList = Arrays.asList( new Person("Roman", 21), new Person("James", 25), new Person("Kelly", 12) ); Person maxPerson = null; int maxAge = 0; for <caret>(Person p : personList) { if(p.getAge() > 13) { if (maxPerson == null || maxAge < p.getAge()) { maxAge = p.getAge() maxPerson = p; } } } return maxPerson; }