AP Computer Science Aeasymcq1 pt
The expression grid.length gives
A.the number of rows
B.the number of columns
C.the total number of elements
D.the first row's elements
grid.length counts the row arrays.
Athe number of rows
Practice more AP Computer Science A questions with full explanations
Practice Unit 8: 2D Array Questions →