[3] Sample outputs for printBasicInfo() and printCourseList(0 methods: John_Smith js = new John_Smith(); js.printBasicInfo(); Full Name: John Smith Gender: Male Phone Number: (210)000-0000 Email: jsmith@jaguar.tamu.edu JNumber: JO00000
[1] Description: You’re asked to create a basic Student’s Enrollment System with the provided Student and Course classes. Please download the source code files from Blackboard. Create two new classes: (i) FirstName_LastName (replace by your name) that extends the Student class and (ii) MyCourse that extends the Course class.
[2] Requirements: a. You’re NOT allowed to change or add ANYTHING in the provided Student and Course classes.
b. Provide a no-arg constructor for your FirstName_LastName class. The no-arg constructor should initialize all the data fields in Student class based on your information and your current semester’s enrolled courses.
c. Override 6 methods in Student class, as marked in the source code comments. Please read the comment sections carefully for descriptions.
d. Override the equals() method in MyCourse class. Two courses are equal if they have the same course number, course name, and credit hours. You should use this method for all courses comparisons.
e. Create a customized exception class CourseNotFoundException, throw this exception in the dropCourse() method if the dropping course doesn’t exist in the courseList. The thrown exception object should contain a meaningful message, including course number, course name, and credit hours for the not found course.
Step by step
Solved in 2 steps with 1 images