public interface Enrollment{
public void createStudent(Student student) throws Exception;
pubic void createCourse(Course course) throws Exception;
public void enroll(Student student, Course course) throws Exception;
public void exam(Student, Course course, float grade) throws Exception;
}
参考答案