Please enable JavaScript to use CodeHS

CodeHS Glossary


2D Array Java

A 2D Array is an array of arrays, used to represent tables, grids, and matrices.

A declaration of a 2D array would look like this:

int[][] arr;