R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of the following implements the Set interface?

  • (A) TreeMap
  • (B) ArrayList
  • (C) HashSet
  • (D) Vector
  • Correct Answer - Option(C)
  • Views: 7
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`HashSet` implements the `Set` interface and stores unique elements.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.