- Vector is synchronized by default, where as ArrayList is not.
- ArrayList is way faster than Vector. Since Vector is synchronized and thread-safe it pays price of synchronization which makes it little slow.
- Vector is a legacy class and initially it was not part of Java Collection Framework.
No comments:
Post a Comment