-Hashtable is synchronized while HashMap is not.In such a case Hashtable has performance overhead and should only be used when data is to be accessed in thread safe manner.
-In Hashtable any non-null object can be used as a key or as a value but HashMap allows null keys and values.


1 comments:
Cool.
Post a Comment