时间:2024-10-13 03:25:11
1、建立测试类型书写代码
3、接着我们Test<? super Li衡痕贤伎st> test = null;使用super关键字限制向上类型约束。
5、但是如果此时再使用ArrayList那就会报错了