Collection
Collection
- It is a framework that provides different interfaces and classes to store data.
- It is the backbone of Java data structure.
- We use a collection for the insertion, deletion, searching, sorting, and manipulation, of group of data.
Advantages of Java Collection
- It Increases program speed and quality.
- It Reduces efforts to learn and to use new APIs.
- It Reduces the programming effort.
- It Reduces the effort to design new APIs.
- It Allows interoperability among unrelated APIs.
Types Of Collection
The collection is of three types as follows: -
- List
- Queue
- Set