This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我有以下内容:
public class Helper {
public void doSomething(List<? extends MyClass> p1, Collection<? extends MyClass> c1) {
final <? extends MyClass> var1 = p1.get(0); // what should be here for the type ?
}
}