Collections in Java
Collection:-
- The collection in java provides architecture to store and manipulate the data efficiency.
- n java collections can achieve all the operation that you perform an a data such as searching, sorting, insertion, manipulation and deletion.
- some collections allow duplicate elements and other do not some are ordered and other or unordered.
- Java Collection means a single unit of objects. Java Collection framework provides many interfaces and classes.
- Limitations in arrays are overcome here
- Collection size is not fixed, it can be increased or decreased as per requirement.
- Predefined methods support is available which makes Programmers task super easy.
- Heterogeneous and homogeneous in nature.
0 Comments