Queue demo in Java

by javadream on 08 Nov 10
0
 
372 downloads
0

Queue is a FIFO (First In First Out) type data structure. The first item to enter queue always comes out of the queue first. In queue, data is inserted (enqueue) in its "rear" and extracted (dequeue) from its "front".

Here is an implementation of queue using Java. It stores integer type data. It's simple and easy to understand.

Bookmark and Share

You must login or register to post comments