how to create an arraylist from an array in java code example Example: Create ArrayList from array java new ArrayList<>(Arrays.asList(array));