Flashcards in Lambdas Deck (5)
What are Lambda Expressions?
Lambda provides us a simpler way to work with interfaces that implement one method.
What are the parts of a Lambda Expression?
1 - The arguments list
2 - Arrow token
3 - Body
Where do Lambda Expressions can be implemented?
Lambda Expressions can be implemented only by replacing interfaces that contains exactly one method. Those interfaces are also called Functional Interfaces.
What is the scope of a Lambda Expression?
Lambda expressions are treated as nested blocks which means they have the same scope as any other block would have.