A

Admin • 802.91K Points
Coach

Q. Which class is most efficient for representing a set of enum constants?

  • (A) EnumSet
  • (B) HashSet
  • (C) LinkedHashSet
  • (D) TreeSet
  • Correct Answer - Option(A)
  • Views: 2
  • Filed under category Java
  • Hashtags: Java Set

Explanation by: Admin
EnumSet is designed specifically to work with enum constants.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.