1. 数组转换为List


String[] arr = new String[] {"str1", "str2"};

List<String> list = Arrays.asList(arr);