陣列轉stream可以透過Arrays.stream()或是Stream.of()來達成,但在面對物件陣列、基本型別 ... forEach(System.out::println);//hello duke java } ...
確定! 回上一頁