What is the result of calling `stream().distinct()`?
Correct answer
All duplicate elements are removed
Explanation
`distinct()` returns a stream with duplicate elements removed.
Update: Admin added a tag on this question
Topics
By Admin · · 31 views