一、length 和 length() length 方法用于获取数组的长度。 int[] arr = new int[10]; System.out.println(arr.length); int[] arr 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交