What is a lambda expression in Java?
A lambda expression in Java is a short block of code that takes in parameters and returns a result, often used to implement functional interfaces.
Exactly! Lambda expressions simplify the implementation of functional interfaces.
Can you give an example of a lambda expression used in a stream operation?