//字符串数组-->字符串集合 String[] strArr = {"AA","BB","CC"}; List<String> list = Arrays.asList(strArr); //字符串集合-->字符串数组 List<String> list = new ArrayList<>(); list.add("AA"); list.add("BB"); list.add("CC"); String[] strArr = list.toArray(new String[0]);