Solved

Which Statement Below Initializes Array Items to Contain 3 Rows

Question 27

Multiple Choice

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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions