Write the definition of a method named sumArray that has one parameter, an array of int s. The method returns the sum of the elements of the array as an int.