0Pricing
Java Academy · Lesson

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

  1. Lambda Syntax & Scope
  2. Functional Interfaces
  3. Method References & Optional
← Back to Java Academy