Question: Program 2 Write a Java class called GradeSummary. In the mail method, there is an array of grades: int[] grades (23, 45, 67, 89, 100);

Program 2 Write a Java class called GradeSummary. In the mail method, there is an array of grades: int[] grades (23, 45, 67, 89, 100); Write methods to do the following 1. Find the minimum grade. The method signature is static int minGrade(int [] grades) Find the maximum grade. The method signature is: static int maxGrade(int [ grades) 2. Write code in your main program to call these two methods and print out the results Note: you must have methods to do this calculation. Do not do the calculation in the main method! The main method will just print out the result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
