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
Given the following 2D array:
int[][] values = {{10, 3, 5, 1}, {2, 6, 8, 12}, {6, 4, 11, 9}};
What is the value of values[1][2]?
values[1][2]
6
8
4
3
11