Which statement below initializes array items to contain 3 rows and 2 columns?

a. int[][] items = {{2, 4}, {6, 8}, {10, 12}};
b. int[][] items = {{2, 6, 10}, {4, 8, 12}};
c. int[][] items = {2, 4}, {6, 8}, {10, 12};
d. int[][] items = {2, 6, 10}, {4, 8, 12};

a. int[][] items = {{2, 4}, {6, 8}, {10, 12}};

Computer Science & Information Technology

You might also like to view...

The Selection pane displays a list of all ________ on a slide

Fill in the blank(s) with correct word

Computer Science & Information Technology

Primary memory, which holds program instructions and data, is not associated with the central processing unit (CPU).

Answer the following statement true (T) or false (F)

Computer Science & Information Technology