Lesson 5. Interfaces and Polymorphism
In this lesson you will learn about:
• the Comparable interface
• enumerated types using
The school needs a report of all course sessions. You must sort the report first by department, then by course number. This implies that all courses for a given department will be listed together. The groups of departments will be ordered in ascending alphabetical order. Within a department, the sessions will be ordered by course number.
To get started, get a simple report working of all course sessions. Don't worry yet about its order.