1.Arrays.asList(数组);
该方法转换的list,不能进行add()和remove()操作,看源码得知:Arrays.asList()方法返回的list是java.util.Arrays.ArrayList;
这个Arraylist继承AbstractList,AbstractList实现了List<E>接口,在重写的add方法中直接是throw new UnsupportedOperationException();