题目内容

对于" int a[ ][ ]=new int[2][9]; " ,a[0].length、a[1].length的值都是9, a.length的值是2。

A. 对
B. 错

查看答案
更多问题

对于" int a[20]; " ,是正确的数组声明。

A. 对
B. 错

阅读程序题(给出【代码】注释标注的代码的输出结果)public class E {public static void main(String args[ ]){System.out.println(Byte.MAX_VALUE);// 【代码】}}

阅读程序题(给出【代码】注释标注的代码的输出结果)public class E {public static void main(String args[ ]){int a[]={1,2,3,4};int b[]={100,200,300};a=b;System.out.println(a[1]);// 【代码】}}

阅读程序题(给出【代码】注释标注的代码的输出结果)public class E {public static void main(String args[ ]){int [ ][ ]a = { { 1,2,3,4} , { 5,6 } ,{ 7,8,9 } };a[2]=a[0];System.out.println(a[2][0]);// 【代码】}}

答案查题题库