Question: Your Task: Complete Task.java: Define what a Task is by adding properties like name, priority, and duration.Write methods to: Get and set task details (

Your Task:
Complete Task.java:
Define what a "Task" is by adding properties like name, priority, and duration.Write methods to:
Get and set task details (e.g., name, priority, duration).Convert the task to a readable string format.Compare tasks by name for operations like deleting.
Complete Main.java:
Write code to handle a menu system for the following actions:
Add a Job: Create a new task and add it to the linked list and queue.Modify a Job: Find an existing task and update its priority or duration.Delete a Job: Remove a task by name.Process Jobs: Process tasks in the queue (First In, First Out) and save them in the stack for undoing.Undo Jobs: Undo tasks in reverse order (Last In, First Out) using the stack.Exit: Stop the program.
Use the Provided Files:
LinkedList: Stores all jobs.Queue: Processes jobs in order.Stack: Keeps track of completed jobs for undoing.

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 Programming Questions!