Q. What is a lambda expression in Java 8?
β
Correct 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.