Is there any difference between array division like
int[] array = new int[10];
and declaring it as
int array[] = new int[10];
?
Both are valid in Java, but I did not find any differences (initialization or something?), Or are they just two different ways to describe the same thing to the compiler?
source
share