Vector,
Hashtable, Properties and Stack are synchronized classes, so they are
thread-safe and can be used in multi-threaded environment. Java 1.5 Concurrent
API included some collection classes that allows modification of collection
while iteration because they work on the clone of the collection, so they are
safe to use in multi-threaded environment.
No comments:
Post a Comment