Write a complete program with a class Student that implements Comparable<Student>, ordering students by score, lowest first. Give it a toString returning name(score).
Read a count and then that many name/score pairs. Print the sorted list, then the highest scorer, then the lowest.
For 3 then Ada 90 Sam 55 Bo 70:
[Sam(55), Bo(70), Ada(90)]
Ada(90)
Sam(55)
Once compareTo exists, Collections.sort, max and min all work without another line from you.