Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
What does import Java.util.* in Java do?
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.
Interfaces |
Description |
Classes |
Collection |
Collection Interface represents a group of objects. It is a root interface of collection framework. |
|
Set |
It is a dynamic group of unique elements. It does not store duplicate element. |
|
List |
They are similar to sets with the only difference that they allow duplicate values in them. |
|
Queue |
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. |
|
Map |
It stores elements in the form of unique Key-Value pair. |
|
Advertisements
