Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(PART 1) Hello, I was wondering if anyone could help me with this JAVA problem. Thank You! I've also uploaded input.dat! Input.dat: 1234, Lloyd, Hunter
(PART 1) Hello, I was wondering if anyone could help me with this JAVA problem. Thank You! I've also uploaded input.dat!
Input.dat:
1234, Lloyd, Hunter 456, Lloyd, Ramey 8943, Brasen, Laura 3546, Adams, John 256, Sandler, Adam 35356, Jones, Jordan 7543, Wise, Aaron 9387854, Amende, Kevin 3954, Tree, Joshua 1, Huginkiss, Amanda 6439, Johnson, Dustin 32055, Jack, Leo 3530, Carter, Chris 539543, Sheppard, Cory 5032, Groshelle, Jeff 50334, Sheppard, Jared 55943, Wheaton, Will 53959, Duval, David 35356, Five, Adam 35336, Scott, Addiley 53536, Simpson, Homer 5032, Freely, I.P. 35356, Verge, Jordan 353945, Smart, Bart 22011, Large, Marge 502385, Simpson, Lisa 36844, Pi, Maggie 3958357, Tavern, Moe 22432, BadMan, Lenny 3053, Officer, Wiggum 1, Lloyd, Grunter 456, Parse, Properly 1234, Happening, Collision. Three Classes needed 1. Driver 2. LL Manager 3. Node . You will read input from a text file and add each input as a new Node . You will add the Node to your linked list "in order" this means by ID, but if the IDs are the same then you will need to add by Last name o Input will be in the form of ID, LastName, First Name, snew line> Each line will have all three values, but ID numbers can, and will be duplicate o Creating a list from the file is (20 points) Keeping the list in order properly is (10 points) You will use the format you did inlab and what I covered in class to build your linked list from reading from the text file I provide There is an example of how to read from a file posted on lab day's D2L You will create a menu that allows you to do the following o Press 1 to load list from file (20 points) Press 2 to load list with individual item from user input o Press 3 to print list inorder o Press 4 to print list backwards o Press 5 to remove item o Press 6 to delete entire list o Press-1 to exit (10) (10) . You will need to write methods to handle all the above instructions to get points in parentheses Click here to get input.dat for you input data
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started