SortedSet is a child interface of Set Interface. It exhibits similar behaviour to its parent interface like not allowing duplicates and not preserving insertion order.… Read More
In this article, we will be aiming at various calendar problem's tricks and concepts which is going to save your time while solving these types… Read More
Set is a child interface of the Collection interface that represents an unordered collection where each element is unique and cannot be repeated. It only… Read More
LinkedList is a child class of List and Queue interface. It owns the behaviour of Doubly Linked List and represents it as its underlying data… Read More
Stack extends Vector class that implements Last in first out (LIFO) data structure, introduced in JDK 1.0. The data structure specifies the last element to… Read More
Vector is a collection class that implements dynamic array data structure to store elements, signifying growable array as its underlying data structure. It accepts duplicate… Read More
Arraylist is a child class of AbstractList and implements List interface. It represents dynamic array that can grow or shrink as needed. In case of… Read More
In Java, there are two interfaces that provides a way to sort and compare objects, namely Comparable and Comparator. Both interfaces play significant roles in… Read More
List interface inherits Collection interface that provides behaviour to store a group of individual objects. It represents group of individual objects as single entity where… Read More
Both Collection and Collections reside in java.util.package. The main difference between them is, Collection is an interface for specifying methods that needs to be implemented… Read More