AP Computer Science Aeasymcq1 pt
In the loop for (int[] row : grid), row is
A.each row of the 2D array
B.each element's int value
C.each column index
D.the whole grid
For-each yields the inner arrays.
Aeach row of the 2D array
Practice more AP Computer Science A questions with full explanations
Practice Unit 8: 2D Array Questions →