摘要: 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 阅读全文
posted @ 2016-08-01 22:14 IDOER 阅读(2129) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2016-08-01 22:13 IDOER 阅读(67) 评论(0) 推荐(0) 编辑