Difference between Hashtable and Collections.synchronizedMap(HashMap)
One more difference that I can find at the implementation of both the classes is as follows: • The Hashtable class has all its methods synchronized i.e. the locking is done at the method level and hence one can say that the mutex is always at the Hashtable object (this) level. • The method Collections.synchronizedMap(Map) … Read more