Complete the method, named sumArray, in the class named, so that it sums all the integer values in an array.

The one parameter coming into the method is an array of integers. The integer value returned is the sum of these integers.

Complete the following file:

public class ArrayOps { /** This method adds up the integer values in an array, with the integer sum returned at the end of the method. @param values, an array of integers, may be positive or negative @ return, the sum of the integers */ public static int sumArray(int values[]) { // your work here // initialize sum // add all elements to sum // return sum } }