Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 gradeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started