Program that tests a queue created by implementing a queue interface.
The testing program has a menu with the following options:
- Print – Prints all the data in the queue
- Offer/Add –Adds an item to the back of the queue
- Peek/Element – Prints the value of the front item in the queue
- Poll/Remove – Removes the front item from the queue and prints its value
- Size – prints the number of items in the queue
- Get – Prints the item in spot X. (X comes from the user)
- Empty – Prints true when the queue is empty and false when it is not
- Exit – Closes the program
This program stores Integer on the queue.