When i am trying to create an Course object in main method, eclipse says that "The constructor Course() is undefined" i dont know why it occurs.
Here is my Course class and its constructions;
public class Course{
private String CourseCode;
private String day;
private int StudentCount;
private int Capacity;
private double averageGrade;
public Course(String CourseCode, String day, int StudentCount, int Capacity, double averageGrade){
this.CourseCode=CourseCode;
this.day = day;
this.StudentCount =StudentCount;
this.Capacity = Capacity;
this.averageGrade =averageGrade;
}
And the main method that trying to create an object called Course;
Course c = new Course();