Lambda Expressions

Learn about lambda expressions and their syntax.

Introduction

The biggest new feature of Java 8 is the language level support for lambda expressions (Project Lambda). A lambda expression is like syntactic sugar for an anonymous class with one method whose type is inferred. However, it will have huge implications for simplifying development.

Get hands-on with 1200+ tech skills courses.