Collection 和 Collections

9 查阅
Collection 和 Collections 的区别。

参考答案:

正确答案:

\r\n

Collection 是集合类的上级接口,继承与他的接口主要有Set 和List.

\r\n

Collections 是针对集合类的一个帮助类,他提供一系列静态方法实现对各种集合的搜索、排

\r\n

序、线程安全化等操作。

区别