Java TreeSet
Q1.
Which property makes TreeSet unique among Set implementations?
Q2.
What is the underlying data structure of a TreeSet in Java?
Q3.
How many null values can a TreeSet contain?
Q4.
What will happen if we try to insert a heterogeneous object into a TreeSet without a custom Comparator?
Q5.
Which of the following interfaces does TreeSet implement?