Java tutorial
import java.util.Arrays; import java.util.List; public class Main { public static void main(String args[]) { String[] a = new String[] { "a", "c", "b" }; List<String> l = (Arrays.asList()); String stuff[] = (String[]) l.toArray(); } }