What happens when you insert null in a TreeSet?
null is allowed and stored
null is ignored
It throws NullPointerException
TreeSet converts null to an empty string
This question is part of this quiz :