JAVA: How do I fix the last "if" statement in my code so that
outputs the SECOND HIGHEST/MAXIMUM GPA out of the given
classes?
public class app {
private static Object minStudent;
private static Object maxStudent;
public static void main(String args[ ])
{
student st1 = new student("Rebecca", "Collins", 22, 3.3);
student st2 = new student("Alex", "White", 19, 2.8);
student st3 = new student("Jordan", "Anderson", 22, 3.1);
student[] studentArray;
studentArray = new student[3];
studentArray[0] = st1;
studentArray[1] = st2;
studentArray[2]...