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