posted 7 years ago
at the page 53 section "Defining a Functional Interface"
in the frame with headline "Applying the @FunctionalInterface Annotation"
Conversely, if a class marked with the @FunctionalInterface
annotation contains more than one abstract method, or no abstract methods at all, then
the compiler will detect this error and not compile.
should be if a interface marked with the @FunctionalInterface