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