是ArrayList的父类
可自动伸缩,可以插入,移除,排序的一个集合类接口储存的对象可以是任意的
他的一个实现类ArrayList<>的简单用法:List<String> list=new ArrayList<String>();
添加方法:list.add("a");list.add("b");list.add("c");list.add("d");
移除方法:list.remove("b");
或者 list.removeAt(1) 数字表示下标,和数组下标等义list.insert(2,"c");

被折叠的 条评论
为什么被折叠?



