What is Java collection framework

Collection framework in java is set of interfaces and classes that forms a collection of data Objects

Set, List, and Queus are interfaces helps to build collection. Map is really not a collection as it is key/value pairs of data.

Java collections help us to create group of objects and it iterates in data container, helping developer to do data operations like add, modify, remove etc.

Leave a Comment

Your email address will not be published. Required fields are marked *