convert list string to array string java code example
Example 1: java String[] to List
import java.util.*;
...
String[] strings = {"Lula", "José Aparecido", "Carlos Minc"};
List<String> list = Arrays.asList(strings);
Example 2: arraylist string to string array
String[] arr = list.toArray(new String[list.size()]);