A

Admin • 828.03K Points
Coach

Q. Which method removes a specific element from a Set?

  • (A) delete()
  • (B) erase()
  • (C) remove()
  • (D) cut()
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Java
  • Hashtags: Java Set

Explanation by: Admin
The `remove()` method is used to delete a specific element from the Set.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.