Java Collection Framework
Collection frame work provides architecture to store and
manipulate collection of objects. Collection of object behaves like an
object. We can perform all operation like sorting, searching, and
deletion on group of objects by using collection framework.
The Java Collections API’s provide a set of classes and interfaces to handle collections of objects.
By using these classes and interfaces we can handle these objects easily. We can understand collection in different way also its behaves like a array whose size changed dynamically.
Rather than having to write your own collection classes, Java provides these ready-to-use collection classes for you.
Most of the Java collections are located in the java.util package. Core Java Training in Jaipur also has a set of concurrent collections in the java.util.concurrent package.
Java.util package contain all the classes and interface for collection framework.
The Java Collections API’s provide a set of classes and interfaces to handle collections of objects.
By using these classes and interfaces we can handle these objects easily. We can understand collection in different way also its behaves like a array whose size changed dynamically.
Rather than having to write your own collection classes, Java provides these ready-to-use collection classes for you.
Most of the Java collections are located in the java.util package. Core Java Training in Jaipur also has a set of concurrent collections in the java.util.concurrent package.
Hierarchy of collection framework. |
Comments
Post a Comment