Collection : Collection is an interface which can be used to represent a group individual objects a single entity.
Collections: Collections is an utility class present in java.util package to define several utility methods ( like sorting ,searching like ) for Collection objects.
Collection | Collections |
Collection is an interface which can be used to represent a group individual objects a single entity. | Collections is an utility class present in java.util package to define several utility methods ( like sorting ,searching like ) for Collection objects. |
The Collection interface provides the standard functionality of data structure to List, Set, and Queue. | Collections class is to provide utilities like sort,search and synchronize the collection elements. |
Collection interface provides the methods that can be used for data structure | Collections class provides the static methods which can be used for various operation on a collection classes |
No comments:
Post a Comment
Hello Buddy, if you have any doubts or need any clarification , feel free to comment. Thanks.