Question: JAVA Create a Student class (Student.java) and a test class (StudentTest.java) which has the following: Instance variables name year totalGrade Constructor to set name and

JAVA

JAVA Create a Student class (Student.java) and a test class (StudentTest.java) which

Create a Student class (Student.java) and a test class (StudentTest.java) which has the following: Instance variables name year totalGrade Constructor to set name and year. Getters and setters for name and year. Getter for totalGrade. A method addGrade(int grade) which adds the grade supplied through the parameter to the total 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!