WELCOME TO JAVA FAQS
Difference between HashTable and HashMap ?
HashTable is reengineered and now it implements Map interface.It takes same
pair as Map but having these dieerences,
-HashTable is synchronized but HashMap ia not.
-HashTable can not take null values but HashMap can take.
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)