array initilization in java code example
Example 1: java array declaration
int[] array = new int[/*size*/];
// Works for double, char, etc.
Example 2: java create array with values
//Given values must match array type
int[] myIntArray = {1, 2, 3};