HashMap and TreeMap are part of collection framework. HashMap java.util.HashMap class is a Hashing based implementation. In HashMap, we have a key and a value… Read More
Tag Archives: Java-Collections
Let us discuss the concept of the arrays and ArrayList briefly in the header to incorporate the understanding in java programs later landing onto the… Read More
The set interface is present in java.util package and extends the Collection interface. It is an unordered collection of objects in which duplicate values cannot… Read More
Linked List is a part of the Collection framework present in java.util package. This class is an implementation of the LinkedList data structure which is… Read More
Java Collection framework provides a Stack class that models and implements a Stack data structure. The class is based on the basic principle of… Read More