A Admin • 828.03K Points Coach Q. If we add Enum constants to a TreeSet, what sort order will it use? (A) Sorted by sort() method (B) Sorted in the order of declaration in Enums (C) Sorted alphabetically by Enums (D) Sorted in descending order Correct Answer - Option(B) Views: 12 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.