Collections Framework Overview
- Eclipse: Oxygen
- Java: 1.8
The collections framework is a set of useful interface and classes of use data structures such as a Map, List, etc.
The Collection in Java is a framework that provides an architecture for storing and manipulating a group of objects.
The Java Collection framework provides many interfaces like Set, List, Queue, Deque, etc., and classes such as ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet, etc.
Advantages of Collection Framework
- No third-party API required
- No need to create API from handling collection objects
- Collection framework is tested and optimized
Contributed by: Poonam Tomar