代码清单1 ArrayList<? extends Object> in = new ArrayList<>(); in.add("hello"); // 无法通过编译. 我们先从不带通配符的泛型说起
確定! 回上一頁