Menu
Topics Index
...
`


Collections Framework >
Siva Nookala - 20 Feb 2017
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.
  • List is used to store the elements in an order. The elements are stored in the order they are added and they can retrieved in the same order. List allows duplicate elements. Famous classes which implement List are Java ArrayList, Java LinkedList .
We will discuss more details about the Collections in the next topics. There are lot of interesting programs to be written as well.

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App