在java 8中你可以使用Lambda表达式替代丑陋的匿名类。 ... forEach(System.out::println); Output: Lambdas Default Method Stream API Date and Time API.
確定! 回上一頁