| Author |
diffrence between collection n collections
|
sanjeev mohanty
Greenhorn
Joined: Aug 29, 2006
Posts: 3
|
|
|
What is the difference between collection and collections?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56150
|
|
An "s". Seriously, you'll need to give some more context for the question before a meaningful answer is possible.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Edwin Dalorzo
Ranch Hand
Joined: Dec 31, 2004
Posts: 961
|
|
If you mean java.util.Collection and java.util.Collections the difference are: Collection is the root interface of all Java collections (i.e. ArrayList, HashSet, LinkedList, etc). Collections, on the other hand, is class the provides a very useful set of services to manipulate collections through its static public methods. See JDK API documentation for more details about it. [ October 03, 2006: Message edited by: Edwin Dalorzo ]
|
 |
 |
|
|
subject: diffrence between collection n collections
|
|
|