public static void printAllEvens(int[] array) { · Arrays.stream(array) ·.filter(i -> i % 2 == 0) ·.forEach(System.out::println); · }.
確定! 回上一頁