Skip to content

What a lambda actually is

In Java, a lambda can be assigned to Predicate<String> but not to Object alone without a cast.

What does that tell you?