Multiple Choice
Which of the following statements creates a multidimensional array with 3 rows,where the first row contains 1 item,the second row contains 4 items and the final row contains 2 items
A) int[][] items = {new int {1, null, null, null},
New int {2, 3, 4, 5},
New int {6, 7, null, null}};
B) int[][] items = {new int {1},
New int {2, 3, 4, 5},
New int {6, 7}};
C) int[][] items = {new int {1},
New int {2, 3, 4, 5},
New int {6, 7},
New int {}) ;
D) int[][] items = {new int {1},
New int {4},
New int {2}};
Correct Answer:

Verified
Correct Answer:
Verified
Q27: Which statement below initializes array items to
Q41: Suppose that class Book has been defined.Which
Q42: The parameter in the Main header allows
Q43: Arrays may have dimensions.<br>A) one<br>B) two<br>C) more
Q44: Which of the following statements about arrays
Q47: Which of the following correctly declares and
Q48: What is the method header for passing
Q49: Passing a reference type by value is
Q50: Which of the following statements is false<br>A)
Q51: One could iterate through multi-dimensional arrays by