Java question on queue, computer science homework help
Java question on queue, computer science homework help
Description
You are tasked with implementing three different queues:
- Dynamic Array FIFO Queue
- Doubly Linked List FIFO Queue
- Priority Queue (in 3 different classes)
You are also to write a driver program called ‘AssignmentQueueDriver.java’.
Driver Program
The driver should start by prompting the user for the type of queue he or she would like:
What type of queue would you like:
- Array FIFO Queue
- Linked List FIFO Queue
- Priority Queue
Next, the program should loop on the following prompt:
What would you like to do:
- Add item to queue
- Dequeue
- Quit
If the user selects option 1, then prompt the user for the name of the new assignment, followed by the value and days until due. If the second option is selected, then dequeing from the queue and print out the object (use the toString provided).
Test Cases
As with all our projects, you are expected to generate your own test cases. Consider dequeing from an empty queue. What if an assignment has 0 days until due? (in separate file)
And follow the java style sheet !!
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


