convert string list to string[] java code example Example: list of string to string array in java list.toArray(new String[0]);