已收藏
收藏
泛型方法
泛型方法不一定定义在泛型类或者接口里面,也可以单独定义。
<T>表示泛型标记的声明
public static <T> T[] fun(T ... args){ return args;
}
泛型标记声名