Open dvas0004 opened 5 years ago
Functional Interfaces can only have one abstract method. Default and static methods don't count toward this limit. Functional Interfaces:
@FunctionalInterface
Functional Interfaces can only have one abstract method. Default and static methods don't count toward this limit. Functional Interfaces:
@FunctionalInterface
(not mandatory, if there is only one abstract method compiler will infer this)