Q. Which lambda expression syntax is correct for a function that takes no arguments and returns 5?
β
Correct Answer: (A)
() -> 5
Explanation: `() -> 5` is a correct lambda expression with no parameters returning 5.