Question: Create a JAVA class called GraduateStudent that has the following attributes: GraduateStudent String - FirstName String - LastName String - Major String - Minor Integer
Create a JAVA class called GraduateStudent that has the following attributes:
| GraduateStudent |
| String - FirstName |
| String - LastName |
| String - Major |
| String - Minor |
| Integer - UIN |
| Double - GPA |
| GraduateStudent() |
| GraduateStudent(FirstName, LastName, Major, Minor, UIN, GPA) |
| calculateFinalGrade(Double, Double, Double) - Double |
| getFirstName() - String |
| setFirstName(String) - void |
| getLastName() - String |
| setLastName(String) - void |
| getMajor() - String |
| setMajor(String) - void |
| getMinor() - String |
| setMinor(String) - void |
| getUIN() - Integer |
| setUIN(Integer) - void |
| getGPA() - Double |
| setGPA(Double) - void |
| toString() - String |
Note: The calculate final grade takes 3 doubles, each of which will be an examgrade out of 100. The first two examgrades are worth 25% of the final grade, and the third examgrade is worth 50% of the final grade. You should return this final grade as a double.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
