Question: 1) Prompts users with this menu: a. Create: returns an uninitialized ArrayList. b. Fill Rand: populates the arraylist with random people names. c. Print: displays

 1) Prompts users with this menu: a. Create: returns an uninitialized

1) Prompts users with this menu: a. Create: returns an uninitialized ArrayList. b. Fill Rand: populates the arraylist with random people names. c. Print: displays the arraylist on the screen. d. Set at: given an index, overwrite the string at the given location. e. Remove at index: given an index, deletes the string at the given location. f. Remove string: given a string, deletes the 1st occurrence string. 8. Remove all occurrences: given a string, deletes the all occurrence of the string. h. Print at: given an index, returns and displays the value at the given location. L. Get Range: given 1t index and last index, returns and displays all elements in the range. j. Set Range: given 1t index, last index and an array of strings sets all elements in the range to the passed array of strings. k. Min of All: computes returns and displays smallest string in the arraylist. L. Sort the list: order the names in the list alphabetically m. End: Quits the program 1) Prompts users with this menu: a. Create: returns an uninitialized ArrayList. b. Fill Rand: populates the arraylist with random people names. c. Print: displays the arraylist on the screen. d. Set at: given an index, overwrite the string at the given location. e. Remove at index: given an index, deletes the string at the given location. f. Remove string: given a string, deletes the 1st occurrence string. 8. Remove all occurrences: given a string, deletes the all occurrence of the string. h. Print at: given an index, returns and displays the value at the given location. L. Get Range: given 1t index and last index, returns and displays all elements in the range. j. Set Range: given 1t index, last index and an array of strings sets all elements in the range to the passed array of strings. k. Min of All: computes returns and displays smallest string in the arraylist. L. Sort the list: order the names in the list alphabetically m. End: Quits the program

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!