public class ThrowCourseException
{
publicstaticvoid main(String[] args)throws CourseException
{
Course course1 = new Course("CSE", 101, 1.0);
Course course2 = new Course("AI", 102, 2.1);
Course course3 = new Course("ECE", 103, 2.5);
Course course4 = new Course("CSE", 1004, 3.0);
Course course5 = new Course("CSE", 105, 4.1);
Course course6 =new Course("CSE",199,8.2);
}
}