Complete the method, named bigSum, in the class named ArrayOps.java. The only parameter to this method is a two-dimensional array of integers with only 2 rows. This method should sum each row of integers separately, and then decide which of the two sums is larger. This larger sum is the return value for this method.

For example, suppose the array contains the following data:

[ [ 25, 16, 14 ]
  [ 13, 27, 22 ]  ]

The sum of the first row is (25 + 16 + 14) = 55, while the sum of the second row is (13 + 27 + 22) = 62. Comparing, we see that the sum of the second row is the larger sum; hence, the method returns the integer 62.

You might think of this as comparing the test grades of two students.

Complete the following file:

ArrayOps.java

public class ArrayOps { /** This method sums up both rows of a two-dimensional array (the only parameter to the method) and returns the greater sum. @param theArray, a 2-D array of integers @return, the greater row sum */ public static int bigSum(int[][] theArray) { // your work here // loop though theArray, summing first row // your work here // loop though theArray, summing second row // your work here // return larger sum // your work here } }