Question d’entretien chez Pearson

Java code for printing 2nd maximum in an array