Question: are java collections thread safe?
Answer: All collection classes (except Vector and Hashtable) in the java. util package are not thread-safe. The only two legacy collections are thread-safe: Vector and Hashtable. ... This is how you can synchronise a list in java.