0
/ 1.0
Write a method duplicate that returns true if the parameter lookFor appears exactly 2 times in the array elements. It should return false...
Write a method duplicate that returns true if the parameter
lookFor appears exactly 2 times in the array elements.
It should return false otherwise. Note
that you don't know the type of data you are processing, so
you have to use equals() to compare objects.
Your feedback will appear here when you check your answer.