AP Computer Science Amediummcq1 pt

To count rows, use

A.grid.length
B.grid[0].length
C.grid.size()
D.grid.rows()

Explanation

Core Concept

length counts the rows.

Correct Answer

Agrid.length

More Unit 8: 2D Array practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 8: 2D Array Questions →