|
ArrayList
|
Vector
|
|
It
is not synchronized
|
Vector
is synchronized
|
|
In
case of single thread, ArrayList is faster than Vector
|
In
case of multiple threads, Vector is advisable, with single thread model
Vector becomes slow
|
|
ArrayList
increases it’s size by half every time
|
Vector
increase it’s size double
|
Showing posts with label What is the difference between ArrayList and Vector. Show all posts
Showing posts with label What is the difference between ArrayList and Vector. Show all posts
What is the difference between ArrayList and Vector?
Subscribe to:
Comments (Atom)