0
/ 1.0
The following method takes in a list of objects, but the type of objects are specified by the generic type parameter T
. It also takes a...
The following method takes in a list of objects, but the type
of objects are specified by the generic type parameter T
.
It also takes a separate value of the same type.
Write a for loop that will return the first index of 'value' in
the list.
If no such value exists, the method should return -1.
Your feedback will appear here when you check your answer.