0% found this document useful (0 votes)
13 views2 pages

Collection Framework

collection framework java

Uploaded by

srinu vas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Collection Framework

collection framework java

Uploaded by

srinu vas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Collection Framework

Collections in Java:

 The collection in java is a framework that provides an architecture to store and manipulate
the group of objects
 Java collection can achieve all the operations that you perform on a data such as searching,
sorting, insertion, manipulation and deletion
 Java collection means a single unit of object. Java collection framework provides many
interface (Set, List, Queue, Deque) and classes (ArrayList, LinkedList, Vector, Stack,
PriorityQueue, HashSet, LinkedHashSet, TreeSet)

Collection: A “Collection” Represents a single unit of object i.e. group

Framework:

 it provides a Readymade architecture


 It represents a set of classes and interfaces
 It is optional

Collection Framework:

The collection framework represents a unified architecture for storing and manipulating a
group of objects.

It has:

1. Interfaces and its implementations i.e. classes


2. Algorithms

Java.util package contains all the classes and interfaces for the collection framework

Hierarchy of Collection Framework


The hierarchy of Collection framework. The java.util package contains all the classes and
interfaces for the Collection framework.
1. Collection Interface:

 Collection interface is a child of Iterable Interface


 The Iterable Interface is root interface of for all collection classes
 It has following three child interfaces
1. List interface
2. Set interface
3. Queue interface

You might also like