Practice Lecture Quiz 1 The following shows a public class Sum with a method called main that invokes the method getsum to compute the sum of an arbitrary array of ints. Write method getsum. The actual quiz could ask you to write a method to compute the sum, the average, the maximum, or the minimum. (Hint, you will probably need the keywords "for", "int", "public", "return", and "static"). public class Sum { public static void main(String[] args) { int[] grades = {80, 90, 60, 88, 75, 95, 92, 72, 65, 82}; System.out.println("The sum of the integers is " + getsum(grades)); } ___________________________________________ ___________________________________________ ___________________________________________ ___________________________________________ ___________________________________________ ___________________________________________ ___________________________________________ }