Question: Please use JAVA to finish this program, thanks! EXERCISE 2: (40 POINTS) This exercise is on the two-finger walking algorithm for ordered lists From the


Please use JAVA to finish this program, thanks!
EXERCISE 2: (40 POINTS) This exercise is on the two-finger walking algorithm for ordered lists From the link alongside the lab, download the Ordered List class that was discussed in the lectures. Step 1: Write a program that reads a list of names from a file and constructs an ordered list. For example, if the input text file is: Shai Tom Jim Aaron Barbara Beth Fred Jack Jarred Jill Amar Ralph Jill Hillary it should create the following ordered list. Print the contents of the list: [Aaron, Amar, Barbara, Beth, Fred, Hillary, Jack, Jarred, Jill, Jim, Ralph, Shai, Tom] Note: Although Jill is repeated in the input list, the ordered list does not have repeated items
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
