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