0 votes
in JAVA by

What is a lambda expression in Java 8?

a) A new type of class

b) A shorthand way of creating an anonymous function

c) A special type of method that can only be called once

d) A way to create a singleton object

1 Answer

0 votes
by
Answer: b) A shorthand way of creating an anonymous function.

Explanation: A lambda expression is a concise way to represent an anonymous function that can be passed around as a value.
...