package admin; /** * This class contains the information needed by the administrator interfaces * to keep track of course preferences. */ public abstract class Course { /** * Title of course. eg. Introduction to Computer Networks */ public String title; /** * Course number, 101, 102, 103, 307, 308... * not necessarily unique between department */ public int number; /** * Course subject, eg. Computer Science, Math, Biology */ public String dept; /** * Course description * a description of the course as seen in a course catalog */ public String description; /** * Number of times the course is usually offered in the fall */ public int fallInstances; /** * Number of times the course is usually offered in the winter */ public int winterInstances; /** * Number of times the course is usually offered in the spring */ public int springInstances; /** * Number of times the course is usually offered in the summer */ public int summerInstances; }