摘要: 表示的是第一个数组。 public class Test { public static void main(String[] args) { int[][] a = new int[2][4]; System.out.println(a[1].length); } } 输出: 4 阅读全文
posted @ 2022-10-17 10:47 月窀 阅读(15) 评论(0) 推荐(0) 编辑
摘要: The parameter passing mechanism in Java is pass-by-value example: public class Test { public static void main(String[] args) { testa a = new testa(); 阅读全文
posted @ 2022-10-17 08:47 月窀 阅读(18) 评论(0) 推荐(0) 编辑