Lambda Expressions

  • Ralph Lecessi


A lambda expression is used to represent a statement. They were introduced in Java 8 to support functional programming. If your applications require many implementations of functional interfaces, you would have to create many named classes or inline many anonymous class implementations. This would make your code excessively large and difficult to read. Fortunately, Lambda expressions can be used to represent functional interfaces using a very succinct syntax.

Copyright information

© Ralph Lecessi 2019

Authors and Affiliations

  • Ralph Lecessi
    • 1
  1. 1.Kendall ParkUSA

Personalised recommendations