Which method returns an Optional describing the first element?
Correct answer
findFirst()
Explanation
findFirst() returns an Optional containing the first element.
Update: Admin added a tag on this question
Topics
By Admin · · 35 views