Synchronization in Vectors in Java

前端 未结 4 992
独厮守ぢ
独厮守ぢ 2021-01-04 21:08

what is meant by vector in Java is thread safe and synchronized, how is it made thread safe. I\'m looking at internal details of implementation

4条回答
  •  孤街浪徒
    2021-01-04 21:34

    The methods are marked as synchronized. Check out the Synchronized Method tutorial.

提交回复
热议问题