Skip over navigation

2D Arrays

Terms List

Introduction to Two-Dimensional Arrays

Declaring and Accessing Two-Dimensional Arrays

Dimension  -  The dimension of an array is the number of indices that you need to use to specify a cell. A one-dimensional array only requires one number, where as an n-dimensional array requires n indices.
Modeling  -  The process of taking a some structure, such as a game board, and using some other form to represent it, such as an array.
Two-Dimensional  -  A two-dimensional array is an array where each cell is specified by two indices, often thought of as a row and column.
Multi-Dimensional  -  Refers to arrays being more than one-dimensional.

Follow Us