A collection is an object that represents a group of objects. as set theory,
a set is group of elements.All the operations that you perform on a data such as
searching, sorting, insertion, manipulation, deletion etc. can be performed by
Java Collections. it took shape with the release of JDK 1.2 and was expanded in
JDK 1.4. It is a java data structure.
Collection framework represents a unified architecture for storing and
manipulating group of object. It has:
1 Interfaces and its implementations i.e. classes
2 Algorithm
Advantage of Collection Framework: Following are some advantage of collection framework as shown
1 Reduces programming effort due to ready to use code
2 Increases program speed and quality
3 Allows interoperability among unrelated APIs
4 Reduces effort to learn and to use new APIs
5 Reduces effort to design new APIs
6 Fosters software reuse