Professional Documents
Culture Documents
Java Tez
Java Tez
Framework in
Java
Collection Framework
• Introduction
• Java Collection Framework is a set of classes and interfaces that provide a
well-structured way to handle and manipulate collections of objects.
• It simplifies the process of storing, searching, and manipulating data.
• Framework Hierarchy
• The Collection Framework has a hierarchical structure with the
"Collection" interface at the top.
• Subinterfaces like List, Set, and Queue extend from the Collection
interface.
• Core Interface
• The "Collection" interface is at the heart of theframework.
• It defines the most basic methods that all collections will have, like add,
remove, and size.
List Interface
- LinkedList
- Iterator
- List methods
Hierarchy of Collection
Framework