So konvertieren Sie eine Sammlung in Java in Array
List<String> list = new ArrayList<String>(); // Original list
String[] arr = list.toArray(new String[list.size()]); // toArray function with array to be populated by this list as an argument.
Wide-eyed Wallaby