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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here