AP Computer Science Amediummcq1 pt
Initializing with values, int[][] a = {{1, 2}, {3, 4}} has
A.2 rows and 2 columns
B.4 rows
C.1 row
D.4 columns and 1 row
Two inner arrays of two values each.
A2 rows and 2 columns
Practice more AP Computer Science A questions with full explanations
Practice Unit 8: 2D Array Questions →