集合类泛型只能是包装类 List<Integer> list2 = new ArrayList<>(); 成员变量不能有默认值(基本数据类型的成员变量都有默认值) 方法参数允许定义空值(int不能传 null)