The following code is meant to find the largest value in a 2-d array. int[][] vals = /* Initialization not Shown */ int m = /* Initialization not Shown */ for (int i = 0; i < vals.length; i++) { for (int j = 0; j < vals[i].length; j++) { if (vals[i][j] > m) m = vals[i][j]; } } System.out.println(m); What should m be set to in order for the code to work as intended?单项选择题

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!