Java 9在 List 介面新增了 List.of(E... elements) 方法,其用法如下。 List<String> stringList = List.of("a", "b", "c"); List<Integer> intList ...
確定! 回上一頁