Arr Convert Array[] to ArrayList<> and ArrayList<> to Array[] in java Using import java.util.ArrayList; import java.util.Arrays; Convert Array[] to ArrayList<> use, String[]array={"Hello","Dineth"}; ArrayList arrayList=Arr.toList(array); Convert ArrayList<> to Array[] use, array=Arrays.toString(Arr.toArray(arrayList))