Iam trying to compare each string or int in array with another array then print the results according to whether the string exists or not in the other array: Below is the wh
You can't use array notation on an ArrayList. You need to call get(index) instead.
ArrayList
get(index)