public class Student { public String name; // student's name, public int year; // class year, public int subox; // S.U. Box number, and public String email; // e-mail address // This method determines whether or not a student's name // alphabetically precedes the name of another student (t), // and returns true or false accordingly. public boolean precedes (Student t) { if (name.compareTo(t.name) < 0) return true; else return false; } } public class ourClass { // This is similar to the method swap on page 230, except that we're // dealing with an array of Student records, rather than doubles. public static void swap(Student[] s, int i, int j) { } // this is also similar to the method findMinimum on page 230, and it // needs no additional code. public static int findMinimum(Student[] s, int i, int n) { int j, min = i; for (j=i+1; j