They are both basically same, there is no difference in performance of any sort, the recommended one however is the first case as it is more readable.
int[] array = new int[10];
FROM JLS:
The [] may appear as part of the type at the beginning of the declaration, or as part of the declarator for a particular variable, or both.