A method reference could be used to replace the lambda expression for a simplified syntax. list.forEach(System.out::println);.
確定! 回上一頁