Question: You are asked to create a program to implement the Student Grade Management System that will provide the information about student grade details. Create an
You are asked to create a program to implement the Student Grade Management System that will provide the information about student grade details.
Create an abstract class Student to do the following:
ADeclare the following member variables as accessible to only within the class: Student ID Student Grade
B Create a zero argument constructor to print "Welcome to Student Management System
C Create a parameterized constructor to initialize all the member variables.
DCreate getters and setters.
E Create an abstract method to calculate and return final grade of the student.
F Create a methodto display all the member variables.
GCreate a method to find the eligibility of mixing. The method has one parameter probation. When the probation is true, the method will output "The student is eligible for mixing". Otherwise, will output is "The student is not eligible for mixing".
Create a class Grade and do the following:
AThe class should inherit the Student Class.
B Declare the member variables: no of courses registered, accessible only to the class
C Create a constructor with no parameters
DCreate a parameterized constructor that will call the constructor of the parent class and then initialize the member variables.
E Create an overriding method to find the projected grade and the final grade. Calculate the final grade using the following formula:
Projected Grade Student Grade no of courses registered
If the no of courses registered is less than or equal to
Final Grade Student Grade Projected Grade
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
