摘要: day 10 Collection类 public interface Collection<E> extends Iterable<E> 常用方法: public boolean add(E e) : 把给定的对象添加到当前集合中 。 public void clear() :清空集合中所有的元素 阅读全文
posted @ 2020-07-04 20:57 庄嘉豪 阅读(222) 评论(0) 推荐(0) 编辑