diff --git a/src/main/java/org/example/Course.java b/src/main/java/org/example/Course.java index 966d90b..0c238df 100644 --- a/src/main/java/org/example/Course.java +++ b/src/main/java/org/example/Course.java @@ -7,4 +7,13 @@ public class Course { private String courseCode; private int courseCredit; + + public Course() { + } + + public Course(String courseName, String courseCode, int courseCredit) { + this.courseName = courseName; + this.courseCode = courseCode; + this.courseCredit = courseCredit; + } }