第二種情況show形參為List<Object>,編譯通不過 show(list2); //這里會報錯 ... public static void show(List<Object> list) { ... 標籤:Java SE.
確定! 回上一頁