Before getting to this you should understand as what does String args[] here means:
https://www.edureka.co/community/3013/purpose-of-string-args-in-the-psvm-of-java
Coming to your question there is no difference in both of them.
its just the syntax of array
you can define array in both ways
int a[]={1,2,3};
int []a={1,2,3};