Technically, this is a matter of your preference. When defining arrays, both are legal.
However, there is an overwhelming tendency and standard to put brackets after the reference type, as in String[] args. Some code checking tools even consider using brackets differently as bad convention or code smell.