array decalaration in java code example
Example 1: java array declaration
int[] array = new int[/*size*/];
// Works for double, char, etc.
Example 2: int[]
int[] array;
// is equivalent to
int array[];
int[] array = new int[/*size*/];
// Works for double, char, etc.
int[] array;
// is equivalent to
int array[];