Fundamentals

Default Methods

Collections

Idioms and Techniques

Design Rationale

Advanced Questions

What are the scoping rules for lambda expressions?

Lambda expressions do not introduce any new naming environment. Names in the body of a lambda are interpreted exactly as in the enclosing environment, except for the addition of new names for the lambda expression’s formal parameters. The keywords this and super also have the same meaning as immediately outside the lambda expression—that is, they […]