java ArrayList,Vector线程安全问题

230 阅读1分钟

ArrayList 是线程安全的吗?

答案:不是

Arraylist 的线程安全问题主要体现在 add() 中: