X1348: Unique?

Write a method unique that returns true if the parameter lookFor appears only one time (i.e., it is unique) in the array elements. It should return false if lookFor appears 0 or more than 1 time. Note that you don't know the type of data you are processing, so you have to use equals() to compare objects.

Your Answer:

Feedback

Your feedback will appear here when you check your answer.