Class Student

  • All Implemented Interfaces:
    Comparable<User>

    public class Student
    extends User
    A student prefers to list their courses alphabetically by course name.
    • Constructor Detail

      • Student

        public Student​(String username)
        Create a new student. Here you want to pass to the parent, User, a comparator that orders the courses ascending by course name.
        Parameters:
        username - the username