public static void a(Object[] b) {
//System.out.print(b.getClass());
}
public static <T> void c(T[] t) {
a(t); //正确
System.out.print(t.getClass());
}
public static void e(List<Object> b) {
//System.out.print(b.getClass());
}
public static <T> void f(List<T> t) {
e(t); //编译出错
System.out.print(t.getClass());
}
//System.out.print(b.getClass());
}
public static <T> void c(T[] t) {
a(t); //正确
System.out.print(t.getClass());
}
public static void e(List<Object> b) {
//System.out.print(b.getClass());
}
public static <T> void f(List<T> t) {
e(t); //编译出错
System.out.print(t.getClass());
}