๐Ÿ’ปap computer science a review

2-D Arrays

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

2-D Arrays (two-dimensional arrays) are rectangular grids or matrices consisting of rows and columns. They allow for storing and accessing elements using two indices - one for row number and another for column number.

"2-D Arrays" also found in: