摘要: package com.itheima; import java.util.Random; public class shuzu07 { public static void main(String[] args) { int [][] arr={{1,2,3},{4,5,6},{7,8,9}}; 阅读全文
posted @ 2022-10-27 23:01 NiceTwocu 阅读(24) 评论(0) 推荐(0) 编辑
摘要: #改进代码 #改进代码 #最终遍历代码 package com.itheima; public class shuzu06 { public static void main(String[] args) { int[][] arr={{1,2,3},{4,5,6},{7,8,9}}; for (i 阅读全文
posted @ 2022-10-27 22:53 NiceTwocu 阅读(54) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; public class shuzu05 { public static void main(String[] args) { int[][] arr={{7,9,10},{213,35,77}}; System.out.println(arr[0]); S 阅读全文
posted @ 2022-10-27 22:30 NiceTwocu 阅读(226) 评论(0) 推荐(0) 编辑
摘要: #二维数组的定义 #静态初始化 #动态初始化 package com.itheima; public class shuzu04 { public static void main(String[] args) { int[][] arr={{7,9,10},{213,35,77}}; System 阅读全文
posted @ 2022-10-27 22:22 NiceTwocu 阅读(35) 评论(0) 推荐(0) 编辑