Question: Date: 1) Given the following class: public class Grade private int testl: private int test2; private int test3; public Grade (int t1, int t2, int

Date: 1) Given the following class: public class Grade private int testl: private int test2; private int test3; public Grade (int t1, int t2, int t3) testl-tl; test2-t2; test3 t3; * t This method calculates average of three test scores and convert * the average into letter grade as per the grading scheme given below. * @return Letter grade public String letterGrade() String letterGrade; return letterGrade/ Use the grading scheme in the following table Letter Grade Test Score Average 90- 100 80- 89 70-79 60-69 Below 60 Define test cases for the Grade class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
