I have recently been thinking about the difference between the two ways of defining an array:
int[] array
int array[]
The most preferred option is int[] a - because int[] is the type, and a is the name. (your 2nd option is the same as this, with misplaced space)
int[] a
int[]
a
Functionally there is no difference between them.