Since you have an array, that means contiguous memory. This entails that a lookup at any given index will be in one action, since there is no need to iterate through as in a linked list. So It is O(1).
Comparing two ArrayList objects, A and B, without ordering or sorting is O(n^2) because each element in ArrayList A has to compare with each element in B. So there are n elements in A, n elements in B. That will lead to every element in A requiring n comparisons with B. Since there are n elements in A, that is n comparisons n times, O(n^2).
Although if you used a sorting algorithm, it will be as fast as the sorting algorithm such as O(n log n) time or O(n) depending on the sorting algorithm used.
Searching for a specific target value in an unsorted array is indeed O(n). This is the case because you have to search through every element in the array to check if it exists. Since there are n elements in the list, that means there are n comparisons.