Lambda Expressions in Java: Syntax and Examples

Lambda Expressions

1/8

Can a lambda expression throw a checked exception?

Yes, but the method in the functional interface should declare that exception.

Comments