The generic class can not be applied to the static method

cn.itcast.generic Package;
// from the generic class definition
public class Demo6 <T> {
public void Testa () {
// A ( "AAAA");
}
public void A (T T) {
}
public < E, K> void B (T T, E E, K K) {
}
generic class on // static methods can not be applied to
public static <T> void c ( T t) {

 }

}

Guess you like

Origin www.cnblogs.com/zdcsmart/p/11865872.html