public class Date
{
public Date() { ... }
public Date(int day) { ... }
public Date(int month, int day) { ... }
public Date(int month, int day, int year) { ... }
}
public class Student
{
public Student() { ... }
public Student(String name) { ... }
public void readTextbook(Date day) { ... }
public void reviewDiscQuestions(Date day) { ... }
public void readMiniLabConcepts(Date day) { ... }
}
public class Course
{
public Course(String name) { ... }
public boolean courseMeetsOn(Date day) { ... }
}
Construct a date object representing tomorrow by specifying the day of the month (the month and year will default to the current month and year if left unspecified).
Construct a student object with your name.
Construct a course object, specifying "Intro to Programming" as the name.
Write code to check whether the course meets tomorrow and, IF IT DOES, tell the student to: