AP Computer Science Amediummcq1 pt
Accessing grid[grid.length][0] causes
A.an ArrayIndexOutOfBoundsException
B.0 to be returned
C.the last row
D.a compile error
The row index is out of bounds.
Aan ArrayIndexOutOfBoundsException
Practice more AP Computer Science A questions with full explanations
Practice Unit 8: 2D Array Questions →