The Software Technology Site
Pages
Home
About
Feedback
Friday, March 18, 2011
What is the difference between a Vector and ArrayList?
Vectors are synchronized. Any method that touches the Vector's contents is thread safe
ArrayList, on the other hand, is unsynchronized, making them, therefore, not thread safe.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment