摘要:
class Program { public class Test<T, S> { //泛型类的类型参数可用于类成员 private T name; private S age; public Test(T Name, S Age) { this.name = Name; this.age = Ag 阅读全文
摘要:
class Program { public class Test<T, S> { //泛型类的类型参数可用于类成员 private T name; private S age; public Test(T Name, S Age) { this.name = Name; this.age = Ag 阅读全文