题目内容

Given the following declaration: int[][] m = new int[5][6]; Which of the following statements is true?

A. The name m represents a two-dimensional array of 30 int values.
B. m[0].length has the value 5.
C. m.length has the value 6.
D. m[2][4] represents the element stored in the 2nd row and the 4th column of m.

查看答案
更多问题

What is the index variable for the element at the first row and first column in array a?

A. a[1][0]
B. a[1][1]
C. a[0][0]
D. a[0][1]

How many elements are array matrix (int[][] matrix = new int[5][5])?

A. 14
B. 25
C. 20
D. 30

When you create an array using the following statement, the element values are automatically initialized to 0.int[][] matrix = new int[5][5];

A. True
B. False

下列哪位诗人属于“初唐四杰”?

A. 卢照邻
B. 王勃
C. 骆宾王
D. 杨炯

答案查题题库