package class2_3_Sorting_start; public class Course { private String name; /** * 0 - Sunday * 1 - Monday * etc. */ private int dayNumber; /** 24 hour time: 8 - 8am 13 - 1pm */ private int hourOfDay; private double hoursTilFirstDeadline; public Course(String name, int dayNumber, int hour, double hoursTilFirstDeadline) { this.name = name; this.dayNumber = dayNumber; this.hourOfDay = hour; this.hoursTilFirstDeadline = hoursTilFirstDeadline; } public String getName(){ return name; } public int getDayNumber() { return dayNumber; } public int getHourOfDay() { return hourOfDay; } public double getHoursTilFirstDeadline () { return hoursTilFirstDeadline;} }