- 1

Wrong code?

what with this declaration: int array[][] = ...???

27th Feb 2017, 3:50 PM
dim0nickb
4 Respuestas
27th Feb 2017, 3:55 PM
Senfman
Senfman - avatar
+ 1
Both is valid. You can even do funny things like int[] array1, array2[] producing a one-dimensional array1[] and a two dimemsional array2[][]
27th Feb 2017, 4:36 PM
Senfman
Senfman - avatar
0
i mean why array[][], not an int[][] in question about java arrays
27th Feb 2017, 4:33 PM
dim0nickb
0
thnx, .. strange java after c#
27th Feb 2017, 4:45 PM
dim0nickb