Collections are predefined set of classes or data structures which can be used to store the group or collections of objects. Unlike arrays, these data structures are powerful and can easily grow or shrink with out having to redefine them. The capacity planning and predefined algorithms for sort, search and manipulation make them easy to use.
There are primarily three types of Collections. They are List, Set and Map.
|