Both will Do same Work
There is no such difference in between these two types of array declaration. It’s just what you prefer to use, both are integer type arrays.
They are semantically identical. The int a[] syntax was only added to help C programmers get used to java. int[] a is much preferable, and less confusing.