Which lambda expression can be used to check if a string is empty?
Correct answer
s -> s.isEmpty()
Explanation
The `isEmpty()` method checks for an empty string.
Update: Admin added a tag on this question
Topics
By Admin · · 47 views