cast list of steing to array of string in java code example Example: arraylist string to string array String[] arr = list.toArray(new String[list.size()]);