0

Can someone explain Two-Dimensional Arrays

just dont quite get it

11th Dec 2016, 8:29 PM
Talkiestcobra6
Talkiestcobra6 - avatar
2 Respuestas
+ 1
A two dimensional array is an array whose elements are array themselves
11th Dec 2016, 10:13 PM
Rishi Anand
Rishi Anand - avatar
0
In a 1D array you have for example an array of int where each item is an integer. In a 2D array you have for each item an array. Imagine an horizontal list where each item is a vertical list that contain an object. Its easier if you think in 2d for 2d array, especially when you want to browse it.
11th Dec 2016, 9:59 PM
Kabe