Question: Write the method public int sumRow(int[][] matrix, int row) that sums row row in the 2D array called matrix. public int sumRow(int[][] matrix, int row)
Write the method "public int sumRow(int[][] matrix, int row)" that sums row row in the 2D array called matrix.
public int sumRow(int[][] matrix, int row) { return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
