List<Integer> foo = new ArrayList<>(); // [] List<Integer> bar = new ArrayList<>(Arrays.asList(1,2,3)); // [1,2,3]