Q. Which lambda expression can be used to check if a string is empty?
β
Correct Answer: (A)
s -> s.isEmpty()
Explanation: The `isEmpty()` method checks for an empty string.