数组转换为List String s[]=new String[4];s[1]="2";s[2]="3";List<T> list=new ArrayList<T>(Arrays.toList(s));这样转换过来的List才能用add()方法和remove()