title: Why vector in Java has to be synchronized?
body: <p>I was trying to understand why vector in Java has to be synchronized. Wherever I reached through google, they said that its synchronized because its elements are synchronized blocks other threads to access when one thread is accessing it. But what I really want to know is <strong>why it has to be?</strong> Java should have left it to the people who are accessing it. But why Java forced all the people accessing vector to use a synchronized data structure? I agree with people who says that ArrayList can be used for my requirement. But my point is what is that <strong>vector is going to give me??</strong> </p>
  
  <p>Thanks and regards,
  Rengasami Ramanujam</p>