Algorithm and data structure examples in Java.
Collection Interface’s subtype is Queue. In the Queue interface, collection interface methods are present automatically.
Queue interface instance can’t be created. Queue interface concrete implementations are required. In Collections API, the available Queue implementations are as following. Among them, one can make a choice: java.util.PriorityQueuejava.util.LinkedList
LinkedList is a considered to be a standard queue implementation.