Question: I have trouble solving this question, can someone kindly help Question 1 ArrayList of Strings with Sorting You will be writing a program that accepts
I have trouble solving this question, can someone kindly help

Question 1 ArrayList of Strings with Sorting You will be writing a program that accepts commands to carry out some operations to mar of names. Running the program will show the user a menu. Blue: Terminal Window-ExamAtrylist Options Description of operations - some with example A - A Oliver (Add Oliver) O - Ordered list U - Unordered list D - D (Delete 1st item) Q - Quit H - See this menu for help Enter an operation Type input and press Enter to send to program In the following screen shot, the texts displayed by the program are in black. The comman by you are in blue. Your program should be able to perform the same behaviour as follows following screenshots go from left to right. After the commands of "A Oliver", "A Jimmy", Tom", three names are added to the ArrayList. After the O command, the ArrayList is sorted. Future U command will produce ordered Arr unless we add a new name making the current ArrayList out of order again. "D 11" deletes the 1st item in the ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
