Question: are hash tables thread safe?
Answer: Yes Hashtable is thread safe, If a thread safe is not needed in your application then go through HashMap, In case, If a thread-safe implementation is desired,then it is recommended to use ConcurrentHashMap in place of Hashtable. ... Unlike the new collection implementations, Hashtable is synchronized.