The following code is returning a List of Integer:
Integer[] arr = new Integer[] {3,2,1};
List<Integer> list = Arrays.asList(arr);
Why is the same code using "int" returning a List of int[]:
int[] arr = new int[] {3,2,1};
List<int[]> list = Arrays.asList(arr);