convert array of string to list of string java code example
Example 1: List of strings to array of strings java
String[]result=stringList.toArray(new String[0]);
Example 2: java string array to arraylist
new ArrayList( Arrays.asList( new String[]{"abc", "def"} ) );