|
Duplicate :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
This code:
public class Test {
interface Iface<T> {
String m(T... t);
}
public static void run() {
Iface<? super Integer> i = null;
i.m(Integer.valueOf(1), Integer.valueOf(1), Integer.valueOf(1));
}
}
is not being accepted by the compiler when it should
|