Create a class that can be used to test data structure - similar to the StudentA.java example found shown below: StudentA.java import java.util.Scanner; import java.util.ArrayList; class StudentA implements Comparable { static java.util.Random rn = new java.util.Random (); static ArrayList firstNames = new ArrayList (); static ArrayList lastNames = new ArrayList (); static SORTBY sortBy = SORTBY.LAST; static int nextUID = 1; String first, last; double gpa = 0; int credits = 0; int uid = 0;
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
27 | 28 | 29 | 30 | 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |