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

Verified
Correct Answer:
Verified
Q1: An argument type followed by a(n) in
Q3: Which of the following statements is true?<br>A)
Q4: Which of the following will not produce
Q5: The preferred way to traverse a two-dimensional
Q6: Which set of statements totals the items
Q7: An exception object's _ method returns the
Q8: Consider the array:<br> s[0] = 7<br>S[1] =
Q9: Attempting to access an array element outside
Q10: In array items, which expression below accesses
Q11: Class Arrays provides method _ for comparing