1 |
|
2 |
* A course that is not mandatory, therefore offered as a choice to the student. |
3 |
* Note that this is an "empty" class, since its implementation is completely given by Course. yet again, Course does not explicitely states that it is a choice course. Plus, using ChoiceCourse adds to the open/closed principle. |
4 |
* @author Maarten Vangeneugden - 1438256 |
5 |
*/ |
6 |
class ChoiceCourse extends Course { |
7 |
public ChoiceCourse(String name, int studyPoints, int semester, int ID, boolean pass) { |
8 |
super(name, studyPoints, semester, ID, pass); |
9 |
} |
10 |
} |
11 |
|