Comment retourner ArrayList comme Array in Java
Integer[] arr = new Integer[al.size()];//al is arraylist
arr = al.toArray(arr);
Grieving Goshawk
Integer[] arr = new Integer[al.size()];//al is arraylist
arr = al.toArray(arr);