Java util package contains collection framework, collection classes, classes related to date and time, event model, internationalization, and miscellaneous utility classes. On importing this package, you can access all these classes and methods.
Following table lists out the classes in the collection package.
Collection Interface represents a group of objects. It is a root interface of collection framework.
It is a dynamic group of unique elements. It does not store duplicate element.
They are similar to sets with the only difference that they allow duplicate values in them.
It is an arrangement of the type First-In-First-Out (FIFO).
First element put in the queue is the first element taken out from it.
It stores elements in the form of unique Key-Value pair.