A collection is a container that holds a group of objects. The collection provides a way to manage objects easily. Collections manage groups of objects as a single unit.
Here are a few basic operations we do on collections :
1) Adding objects to the collection.
2) Removing or deleting objects from the collection.
3) Retrieving objects from the collection.
4) Iterating collectio