Java 把数组转化为 ArrayList String[] a={'a','b'};ArrayList arrayList=new ArrayList<String>(Arrays.asList(a)));