创建完一个集合之后,可以不断地给集合插入新的数据来更新集合,示例如下:
动手写5.3.3 InsertSet
(https://www.daowen.com)
控制台输出如下:
使用insert方法可以为集合增加新的元素。