I am currently teaching students as a tutor programming conventions. I\'ve told them that they can find most conventions in the Oracle Code Conventions.
One advantage of using [] immediately after array type is:
If you want to declare multiple arrays then you to write like:
int[] a,b,c;
But if you use [] after the array name, then we have to use[] after every array variable like:
int a[],b[],c[];