Difference between ArrayList and Vector

ArrayListVector
Every method present in ArrayList is non synchronizedEvery method present in ArrayList is synchronized
Not Thread safeThread Safe
Relatively Performance is HighRelatively Performance is Low
From version 1.2 (Non Legacy)From version 1.0 (Legacy class)
Can be thread safe by Collections.synchornizedList(l)No such support

Leave a Comment