initializing an array of ints java code example Example: int[] int[] array; // is equivalent to int array[];