Question: Write a class called Course that represents a course taken at a school. Use ArrayList in the course to store the students taking that course.
Write a class called Course that represents a course taken at a school. Use ArrayList in the course to store the students taking that course. The constructor of the course class should accept only the name of the course. Provide a method called addStudent that accepts one student parameters. Provide a method called average that computes and return the averages of all students test score averages. Provide a method called roll that prints all students in the course, adds several students,prints a roll and print the overall course test average
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
