In Java abstraction is accomplished by using Abstract class and Interfaces. Abstraction is one of the most important concept of OOPs. Abstract class is similar to Interfaces in Java, except that it can contain methods with implementations also. Abstract Class… Read More!
AbstractCollection is an abstract class that extends Object and implements Collection interface. This class provides a skeletal implementation of the Collection interface, to minimize the effort required to implement this interface. This is a member of the Java Collections Framework.… Read More!
Enumeration interface is part of java.util package. An object that implements this interface generates a series of elements, one at a time. Successive calls to the nextElement() method return successive elements of the series. Enumeration Interface Java SE
public interface Enumeration<E>
//To check if this enumeration has more elements
//Returns the next element of this enumeration
The… Read More!
A Map interface is an object that maps keys to values or handles key-value pairs. It cannot contain duplicate keys and each key can map to at most one value. Map interface hierarchy The Map interface Java SE The methods… Read More!
The Deque interface in java is a subtype of Queue interface. A deque is a double-ended-queue, usually pronounced as “deck”. It supports the addition and removal of items from both the ends. It can act like both stacks (LIFO) and… Read More!