Java Collection Interface

Figure 2.9:
Image Javalist

The Collection interface is the root interface of the collections framework hierarchy. Java does not provide direct implementations of the Collection interface but provides implementations of its sub-interfaces like List, Set, and Queue. People often get confused between the collections framework and Collection Interface. The Collection interface is the root interface of the collections framework. The framework includes other interfaces as well: Map and Iterator. These interfaces may also have sub-interfaces.