java handle a list of ints code example
Example 1: int list in java
List<Integer> list = new ArrayList<Integer>();
Example 2: int list java
int[] list = new int[length];
List<Integer> list = new ArrayList<Integer>();
int[] list = new int[length];