turn array list into an array [] java code example Example: java list to array String[] arr = list.toArray(new String[list.size()]);