I noticed recently that I can declare an array in java by putting the square brackets either after the type OR after the array variable name.
float[] x
float x[]
Are there any differences between these two, aside from the syntax?
As an aside, I stumbled upon a discovery that float[] x[]
is actually initializing a two-dimensional array - at least according to Eclipse. Is that true?