Friday, June 2, 2017

Difference between Collection and Collections?

1. Collection is an interface which can be used to represent a group of individual objects as a single entity.
2. Collections is an utility class present in java.util.package to define several utility methods (like Sorting, Searching...) for Collection objects.

No comments:

Post a Comment