diff options
Diffstat (limited to 'src/portfolio1/Course.java')
-rw-r--r-- | src/portfolio1/Course.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/portfolio1/Course.java b/src/portfolio1/Course.java new file mode 100644 index 0000000..66acd3f --- /dev/null +++ b/src/portfolio1/Course.java @@ -0,0 +1,8 @@ +public class Course extends Activity { + public Course(int ects, String name) { + super(ects, name); + } + public String toString() { + return "Course: " + super.toString(); + } +}
\ No newline at end of file |