Write a method | Computer Science homework help

  

Write a method with the signature “public static int findMax(int[][] data)” which finds the maximum value in the given array and returns it. Is there a limit to the number of dimensions can an array have? Why might you use a two-dimensional array?