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