Create anabstract classnamedCoursethat can be used withcourse allocation mechanismof an enterprise. The Course class should track thecourse Id Number,course Title and course Credit Hours with appropriate accessor/getter and mutator/setter methods. Define anequals (Course obj)method, thatreturns true if caller and input argument course object have identical course Id Number.
Also define anabstract method double getCourseEnrollmentFee().Next, create two additional classes namedElectiveCourse and CoreCoursethat arederived from Course. Finally, create an overridden method namedgetCourseEnrollmentFee() calculate and returns the total feefor that course.Elective coursehasRs. 10,000 per credit hoursandCorehasRs. 13,000 per credit hours.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here