@ -40,4 +40,10 @@ public class Course {
public void setCourseCredit(int courseCredit) {
this.courseCredit = courseCredit;
}
public void printCourseInfo() {
System.out.println("Course Name: " + courseName);
System.out.println("Course Code: " + courseCode);
System.out.println("Course Credits: " + courseCredit);