- 1
Wrong code?
what with this declaration: int array[][] = ...???
4 Respuestas
+ 3
Google is your best friend :-)
http://stackoverflow.com/questions/12231453/syntax-for-creating-a-two-dimensional-array
+ 1
Both is valid. You can even do funny things like
int[] array1, array2[]
producing a one-dimensional array1[] and a two dimemsional array2[][]
0
i mean why array[][], not an int[][] in question about java arrays
0
thnx, .. strange java after c#