1. Suppose that the class ArrayList did not have the method contains. If myList is an array list of strings, write Java statements at the client level that see whether the string aString is in the...


1. Suppose that the class ArrayList did not have the method contains. If myList is an array list of strings, write Java statements at the client level that see whether the string aString is in the list myList.


2. Consider an array list of strings, some of which might be duplicates. Create another array list of all the strings in the first list, but without duplicates.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here