Question: Using java: Create a program using Inheritance implementing the following classes: Course ( base class ) o Every course has a course id . (

Using java: Create a program using Inheritance implementing the following classes:
Course (base class)
o Every course has a course id.(Example: CSC222)
MathClass
ComputerScienceClass - feel free to change the name :)
Your program should complete the following tasks:
The ComputerScienceClass and MathClass will inherit from the Course class.
In your Course class create a CalcFinalGrade () method requiring a list of grades (The
method does not need to do anything).
Each derived class will override the method CalcFinalGrade () from the base class
completing the following:
o MathClass - calculates the average of a list of grades for the final grade.
o ComputerScienceClass uses the highest grade from a list of grades as the final grade

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!