Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

ArrayList vs Vector

ArrayList is not thread safe/syncronized
Vector is thread safe/syncronized
ArrayList is faster than Vector
Both allow duplicate values and keep ordering
Both are implementations of List interface
 
PREVIOUS NEXT
Tagged: #ArrayList #Vector
ADD COMMENT
Topic
Name
8+5 =