ArrayList<String> list = new ArrayList<>(); public boolean add(E e) 将指定的元素添加到此列表的尾部。 public int size() 返回此列表中的元素数。 public E get(int index)返回此列表中指定位置上的元素。 基本的数组如: String[] strArr = str.split("[5]++"); 求长度为:strArr.length; 相关文章: 2021-11-11 2022-12-23 2021-05-26 2021-08-29 2021-04-13 2022-12-23 2021-09-09