set集合中:add()方法介绍
人生如同一个队列,在某个方向追逐时,要勇往直前,最终才能从(队尾)到(队首)。 ---老洋
set集合中:add()方法介绍
①、先看:set在(Connection)什么位置?

②、可以看出什么呢?
set是一个接口:继承了Connection集合接口
③、我们再来看看:add()方法, 发现Connection、Set都有

可以得出:add()是Connection处就有的(方法)
④、下面来看看add()方法:源码讲点什么?

⑤、代码演示
若有问题可联系本人qq:2560055298 (探讨) ---老洋