Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
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; ```