What is the difference between TreeSet and SortedSet?
(a) TreeSet is more efficient than SortedSet
(b) SortedSet is more efficient than TreeSet
(c) TreeSet is an interface; SortedSet is a concrete class
(d) SortedSet is an interface; TreeSet is a concrete class
The question was posed to me in semester exam.
The question is from Data Structures-Set in section java.util – The Collections Framework of Java