Back to photostream

Queue in Java

Queue is the linear data structure that follows a first-in-first-out (FIFO) order. The implementation classes of Queue Interface are Priority Queue and LinkedList.

Queue is a pre-defined Interface present in java.util package, Introduced from JDK1.5.Priority Queue is an Implementation class of Queue Interface.

Present in java.util pack and introduced from JDK1.5

30 views
0 faves
0 comments
Uploaded on January 14, 2024