Functional Interfaces
Learn about functional interfaces like Runnable, Supplier, Consumer, and custom ones.
Intro
Functional interfaces are the foundation of lambdas. They define exactly one abstract method.
Examples
Examples: Runnable, Callable, Supplier, Consumer, Function.
All lessons in this course
- Lambda Syntax & Scope
- Functional Interfaces
- Method References & Optional