Please enable JavaScript to use CodeHS

CodeHS Glossary


Row-major Order Java

The ordering of 2D arrays is row-major order, meaning the first index is the row, and the second index is the column. `arr[2][0]` would access the element on the third row and first column.