网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
设有数组定义int[][]x={{1,2},{3,4,5},{6},{}};,则x.length的值为()
A.3
B.4
C.6
D.7
参考答案
更多 “ 设有数组定义int[][]x={{1,2},{3,4,5},{6},{}};,则x.length的值为()A.3B.4C.6D.7 ” 相关考题
考题
下列选项中关于二维数组的定义,格式错误的是A.int[][] arr = new int[3][4]B.int[][] arr = new int[3][]C.int[][] arr = new int[][4]D.int[][] arr = {{1,2},{3,4,5},{6}}
考题
下面代码中,哪一项是正确定义了一个3*4的二维数组A.int[][] arr = new int[3][4]B.int[][] arr = new int[3][]C.int[][] arr = new int[][4]D.int[][] arr = {{1,2},{3,4,5},{6}}
考题
下列选项中关于二维数组的定义,格式错误的是()A.int[][] arr = new int[3][4]B.int[][] arr = new int[3][]C.int[][] arr = new int[][4]D.int[][] arr = {{1,2},{3,4,5},{6}}
考题
假设sizeof(int)的值为4,对数组定义:int a[3][6];则sizeof(a[0] )的值为______。 假设sizeof(int)的值为4,对数组定义:int a[3][6];则sizeof(a[0] )的值为______。
热门标签
最新试卷