package 泛型.通配符; import java.util.ArrayList; import java.util.List; public class Demo { public static void main(String[] args) { List extends Number> list1 = null; List super Number> list2 = null;
List list3 = new ArrayList<>(); List list4 = new ArrayList<>(); List list5 = new ArrayList<>();