Answers for "diff between arraylist and vector in java"

4

arraylist vs vector in java

ArrayList is not thread safe
Vector is thread safe/syncronized
ArrayList is faster than Vector
Both allow duplicate values and keep ordering
Both are implementations of List interface
Posted by: Guest on January-06-2021

Code answers related to "diff between arraylist and vector in java"

Browse Popular Code Answers by Language