X1036: Contains Two

The following method takes in a List of generic parameter type T and a value of the same type. This method should return true if there are at least two occurrences of value in the list.

For example if list is: [1, 2, 3, 4, 5, 5] and value is 5, this method should return true.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.