AP Computer Science Amediummcq1 pt
In an enhanced for loop for (int[] row : grid), a second loop can
A.visit each element of that row
B.visit another grid
C.return from the method
D.change the row count
The inner loop iterates the row.
Avisit each element of that row
Practice more AP Computer Science A questions with full explanations
Practice Unit 8: 2D Array Questions →