Please enable JavaScript to use CodeHS

Chapter 8

2D Arrays

8.1 2D Arrays

Declaring and Initializing a 2D Array

Accessing Elements in a 2D Array

Modifying Elements in a 2D Array

GradeBook

ChessBoard

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Manipulating 2D Arrays

Vocabulary

Term Definition
2D Array Arrays that store arrays. The methods associated with these are the same as regular arrays.