Multiple Choice
Which of the following sets of statements creates a multidimensional array with 3 rows,where the first row contains 1 value,the second row contains 4 items and the final row contains 2 items ?
A)
int[][] items;
items = new int[3][?];
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
B)
int[][] items;
items = new int[3][];
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
C)
int[][] items;
items = new int[?][?];
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
D)
int[][] items;
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
Correct Answer:

Verified
Correct Answer:
Verified
Q68: Arrays can be declared to hold only
Q69: In rectangular array items,which expression below retrieve
Q70: Which of the following statements is false<br>A)
Q71: An array with m rows and n
Q72: Attempting to access an array element out
Q74: Variable-length argument lists allow you to create
Q75: When dealing with multi-dimensional arrays,each "row" must
Q76: [C#6] Initializing an auto-implemented property in its
Q77: When an exception is caught,the program can
Q78: By convention,the first set of brackets of