Fixed size array based queue

Fixed size array based queue

Source Code:
Github: FixedSizeArrayQueue.java

Output:

 
Queue after enqueue (1, 2, 3) : [1, 2, 3]
Queue after dequeue : 1, Queue: [2, 3]
Queue after dequeue : 2, Queue: [3]
Queue after dequeue : 3, Queue: [4, 5]
Queue after dequeue : 4, Queue: [5, 6]
Queue after dequeue : 5, Queue: [6]
Queue after dequeue : 6, Queue: []
Author: Hrishikesh Mishra