collection vs collections

Solutions on MaxInterview for collection vs collections by the best coders in the world

showing results for - "collection vs collections"
Finn
24 Sep 2019
1Collection is an interface in Java.
2But Collections is a class in Java.
3Collection is a base interface. 
4Collections is a utility class in Java.
5Collection defines methods that are
6used for data structures that contain the objects. 
7Collections define the methods that are used 
8for operations like access, find, etc. on a Collection.
9Collection Interface has only abstract
10methods but Collections consists of 
11only static methods that are used to
12operate on objects of type Collection.