How many null values can a TreeSet hold?
Correct answer
None
Explanation
TreeSet does not allow null if elements are compared using natural ordering.
Update: Admin added a tag on this question
Topics
By Admin · · 28 views