+ 2
What are 2d arrays in Java
Java
3 Respuestas
+ 1
A nested array (multidimensional array).
Normal array = {1,2,3}
2d: { {1,2,3} , { 4,5,6,7} }
You can see, it is one array which contains two arrays inside.
The two arrays have an index (0 and 1) and the numbers have indizes.
arr[0][0] ... arr[0][2]
arr[1][0] ... arr[1][3]
+ 1
You can also look here:
https://www.sololearn.com/learn/Java/2149/?ref=app
0
2dimension array are 2d array