创建 ArrayList<Student> array = new ArrayList<>(); 什么是集合 一种存储空间可变的存储模型 底层是数组实现的,长度可以变化 方法 public boolean remove(Object o) public E remove(int index) public E set(int index,E element) public E get(int index) public int size() public boolean add(E e) public void add(int index,E element)