摘要:
集合添加元素 /* * 3.void clear() 移除此 collection 中的所有元素 * 4.boolean remove(Object o) 移除集合中指定元素 * 5.boolean removeAll(Collection<?> c) ;删除指定的Collection中和本Coll 阅读全文
摘要:
执行结果: s0 : Student [name=张大, age=1]s1 : Student [name=张二, age=2]s2 : Student [name=张三, age=3]s3 : Student [name=张四, age=4]s4 : Student [name=张五, age=5 阅读全文