Question: Implementing priority Queue Using LinkedList Write a Java program that keeps track of your To-Do list for a given day. The list has a pre-set

Implementing priority Queue Using LinkedList

Write a Java program that keeps track of your To-Do list for a given day. The list has a pre-set limit of 10. Use pop-up windows for user interactions (input/output). You should display a menu like the following:

Implementing priority Queue Using LinkedList Write a Java program that keeps track

Each chore has data/message item and a numeric/priority item. The list is formed as a Priority Queue. That means, entered sequentially, the following chores:

Message: Call Mom, Priority: 2

Message: Return Library Book, Priority: 2

Message: Pickup Paycheck, Priority: 1

Message: Start Working on Java Homework, Priority: 3

Message: Pay Phone Bill, Priority: 1

should be recorded as:

Message: Pickup Paycheck, Priority: 1

Message: Pay Phone Bill, Priority: 1

Message: Call Mom, Priority: 2

Message: Return Library Book, Priority: 2

Message: Start Working on Java Homework, Priority: 3

The menu operations are largely what it says, and as it was demonstrated in class. Unlike, as it was demonstrated in class, all your interactions with user should be through pop-up windows.

Things To Do List for l'Your Name] 1 Insert an entry 2 show the first entry Remove the first entry Length of queue 5: Is it full 6: Is it empty 7:Empty the queue 8:Display queue contents 0: Quit Enter your option

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!