You need to write a condition to display the names of the letters beginning in small letters using the String class. Example with the ending of the names on the "ko".
public static void KO(ArrayList<Person> pp ) { for (Person p : pp) { if(p.lName.endsWith("ko")) { System.out.println( p ); } } }