AP Computer Science Aeasymcq1 pt
To find the maximum in a 2D array, you
A.track the largest element across all rows
B.read grid[0][0] only
C.sort the rows
D.read the last element
Scanning tracks the running max.
Atrack the largest element across all rows
Practice more AP Computer Science A questions with full explanations
Practice Unit 8: 2D Array Questions →