我們可以創建一個列表的副本,然後使用 List 方法 removeAll() 刪除與另一個列表相同的所有元素: List<String> differences = new ArrayList<>(listOne); ...
確定! 回上一頁