Posted On: Feb 22, 2018
Concurrent collections are different from the traditional collections in a way that it is synchronized in nature. Traditional collections such as Array, HashMap are not synchronized and cannot leverage multiple threads to perform actions simultaneously.
So developers can use the java.util.concurrent package to write concurrent collections to leverage multi-threading. Concurrent collections also improve the performance of the applications.
Never Miss an Articles from us.
A Collection in Java is a group of objects that are represented as a single unit. The group of objects is stored as a single unit where you can manipulate the objects. You can do various operations o...
The Garbage Collection in Java is a memory management process. In C/C++, the programmer is responsible for clearing the unused memory used by the objects. But in Java, the programmer need not take car...
The collection framework in Java is used to store data and process it efficiently. It is nothing but a collection of interfaces and classes. The collection interface is subdivided into the list, set...