I understand how you would write a contains(E item) method, by checking each item in this and returning true if you find that one of the elements of this is equal to item.
But how would you deal with the Wildcard type for the collection when you go through c? Are you supposed to for example say:
for (Object item: c) {
How would you reference that it is a ?
type.
The compiler didn't like:
for (? item: c)
or
for (<?> item: c)