Java中的Collection和Collections之间的主要区别是什么? [英] What is the main difference between Collection and Collections in Java?
本文介绍了Java中的Collection和Collections之间的主要区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Collection和Java中的Collections之间的主要区别是什么?
What is the main difference between Collection and Collections in Java?
推荐答案
Collection
是大多数集合类的基本接口,而Collections
是实用程序类.我建议您阅读文档.
Collection
is a base interface for most collection classes, whereas Collections
is a utility class. I recommend you read the documentation.
这篇关于Java中的Collection和Collections之间的主要区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文