Collection Framework in Java

The Collections Framework in Java, gives you lists,sets, maps, and queues to satisfy most of your coding needs.
A collection represents a group of objects, known as its elements. This framework is provided in the java.util package.
 
There are a few basic operations you'll normally use with collections:
  • Add objects to the collection.
  • Remove objects from the collection.
  • Find out if an object (or group of objects) is in the collection.
  • Retrieve an object from the collection (without removing it).
  • Iterate through the collection, looking at each element (object) one after another.
Related Post:- Collection Interfaces and Classes 

    People who read this post also read :



    1 comments:

    It gives me an immense pleasure to go through your posts from time to time.
    Because of their unique content and presentation. I wish you a success and hope you
    keep writing more and more such posts.
    Read my blogs: How To Implement Efficient Test Automation In The Agile World

    Post a Comment

    Share

    Twitter Delicious Facebook Digg Stumbleupon Favorites More