Answer
Functional interfaces have one abstract method (SAM).
Examples include Runnable, Callable, Comparator.
Marked with @FunctionalInterface and used with lambda expressions.
Examples include Runnable, Callable, Comparator.
Marked with @FunctionalInterface and used with lambda expressions.