If we try to add Enum constants to a TreeSet, what sorting order will it use?
Answer: A . Sorted in the order of declaration of Enums
Sorted in the order of declaration of Enums
Sorted in alphabetical order of Enums
Sorted based on order() method
Sorted in descending order of names of Enums
If you think the posted answer is wrong or Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here
we’ll review your comment and contact you soon….