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



Check Your Understanding

  1. Invalid Answer

Exercise: Manipulating 2D Arrays


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