9 Key Interfaces of collection Framework
Collection List Set SortedSet NavigableSet Queue Map SortedMap NavigableMap Collection(I): If we want to represent a group of individual objects as a single entity then we should go for collection. Collection interface define the most common methods which are applicable for any collection object. In general collection interface is consider as root interface of collection framework. There is no concrete class which implements collection interface directly Difference between collection and collections Collection is an interface. If we want to represent a group of individual object as a single entity then we should go for collection Collections is an utility class present in java.util package to define several utility method for collection object(like sorting, searching etc) List(I): It is the child interface of collection. If we want to represent a group of individual objects as a single entity where duplicates are allowed and insertion order must be preserved...