forEach(f->System.out.println(f)); This is possible because Java 8 uses a technique called type inference to determine if the lambda expression can be used.
確定! 回上一頁