拿什么代替???在下面的代码中,它会起作用吗?
import java.util.List;
public class Generic {
private static class Foo<T> {
Foo(Class<T> clazz) {
assert clazz != null;
}
}
public static void main(String[] args) {
Class<List<String>> x = ???;
Foo<List<String>> t = new Foo<List<String>>(x);
}
}