Class Professor

  • All Implemented Interfaces:

    public class Professor
    extends User
    A professor prefers to list their courses by ascending course level, and if there is a tie then alphabetically by course name.
    • Constructor Detail

      • Professor

        public Professor​(String username)
        Create a new professor. Here you want to pass to the parent, User, a comparator that orders courses first by ascending course level and second alphabetically by course name.
        username - the username of the professor