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
Q2: Which of the following statements creates a
Q7: Which of the following statements about creating
Q9: What do the following statements do? double[]
Q12: What kind of application tests a class
Q13: Constant variables also are called .<br>A) write-only
Q21: When an argument is passed by reference,_.<br>A)a
Q24: Which of the following is false?<br>A) The
Q27: Which statement below initializes array items to
Q28: In Java,multidimensional arrays _.<br>A)are not directly supported.<br>B)are
Q45: Which method call converts the value in