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}};


b. int[][] items = {{1}, {2, 3, 4, 5}, {6, 7}};

Computer Science & Information Technology

You might also like to view...

Which of the following is not a property of LinkedListNode?

a) Value b) Reference c) Previous d) Next

Computer Science & Information Technology

There are no default value for data fields in a class.

A. false B. true

Computer Science & Information Technology

How many times is the recursive moveDisks method invoked for 4 disks?

a. 5 b. 10 c. 15 d. 20

Computer Science & Information Technology

A(n) ________ stop is a specific location on a line of text marked on the Word ruler used to align and indent text

Fill in the blank(s) with correct word

Computer Science & Information Technology