init array java value code example
Example 1: java array declaration
int[] array = new int[/*size*/];
// Works for double, char, etc.
Example 2: declare array with values java
int[] myIntArray = new int[3];
int[] myIntArray = {1, 2, 3};
int[] myIntArray = new int[]{1, 2, 3};