R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of these classes is synchronized?

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

Explanation by: Ram Sharma
`Vector` is synchronized; the others are not thread-safe by default.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.