Collection In Java

Collections in Java


Collections in java is a framework that provides an architecture to store and manipulate the group of objects.
Java Collection simply means a single unit of objects. 
Java Collection framework provides many interfaces (Set, List, Queue, Deque etc.) and classes (ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet etc).

Collection framework

Collection framework represents a unified architecture for storing and manipulating group of objects. It has:
  1. Interfaces and its implementations i.e. classes
  2. Algorithm

collection hierarchy:


Comments