array int declaration java code example
Example 1: declare array with values java
int[] myIntArray = new int[3];
int[] myIntArray = {1, 2, 3};
int[] myIntArray = new int[]{1, 2, 3};
Example 2: array declaration and initialization in java
int[] age = new int[5];