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
|
What is the difference between ArrayList and Vector?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment