Lambda Syntax & Scope
Learn the syntax and scope rules of Java lambdas.
Intro
Lambdas are short blocks of code like methods, but written inline. They make code concise.
Syntax
Syntax: (parameters) -> expression or (parameters) -> { statements }.
All lessons in this course
- Lambda Syntax & Scope
- Functional Interfaces
- Method References & Optional