java 8 jdk1.8 new features

1Lambda expression

2 Functional Interface

Functional Interface (Functional Interface) is one and only one abstract method, but there may be a plurality of non-abstract methods of the interface.
java 8 introduces a new annotation interface as a function @FunctionalInterface

Guess you like

Origin www.cnblogs.com/wmxl/p/11421816.html