Time estimate: 90 min.
9.1. Two-dimensional (2D) ArraysΒΆ
We have only worked with one-dimensional arrays so far, which have a single row of elements. But in the real world, data is often represented in a two-dimensional table with rows and columns. Programming languages can also represent arrays this way with multiple dimensions. A two-dimensional (2D) array has rows and columns. A 2D array in Java is actually an array of arrays.
- 9.1.1. 2D Arrays (Day 1)
- 9.1.2. Array Storage
- 9.1.3. How Java Stores 2D Arrays
- 9.1.4. Declaring 2D Arrays
- 9.1.5. Set Value(s) in a 2D Array (Day 2)
- 9.1.6. Initializer Lists for 2D Arrays
- 9.1.7. Get a Value from a 2D Array
- 9.1.8. Programming Challenge : ASCII Art
- 9.1.9. Summary
- 9.1.10. 2D Arrays Game
You have attempted of activities on this page