A

Admin • 802.91K Points
Coach

Q. Which implementation class provides a sorted set?

  • (A) HashSet
  • (B) TreeSet
  • (C) LinkedHashSet
  • (D) EnumSet

Explanation by: Admin
TreeSet maintains elements in ascending order (sorted).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.