What is the difference between ArrayList and Vector?
Page 1 of 1
What is the difference between ArrayList and Vector?
ArrayList
ArrayList is not synchronized.
ArrayList is not a legacy class.
ArrayList increases its size by 50% of the array size.
Vector
Vector is synchronized.
Vector is a legacy class.
Vector increases its size by doubling the array size.
ArrayList is not synchronized.
ArrayList is not a legacy class.
ArrayList increases its size by 50% of the array size.
Vector
Vector is synchronized.
Vector is a legacy class.
Vector increases its size by doubling the array size.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum