Now we want to return the age of the oldest kid rather than the name of the oldest kid, using a method called howOld. Your job is to complete the change so that the new method, howOld, properly returns the age of the oldest Infant.
public String oldest(Infant[] kids){ int oldAge = kids[0].getAge(); int oldWho = 0; // position of oldest so far for (int who = 1; who < kids.length; who++) { if (kids[who].getAge() > oldAge){ oldAge = kids[who].getAge(); oldWho = who; } } return kids[oldWho].getName(); }