Hashtable and HashMap both are Key Value pairs and they function both the same way except in sychronization and HashMap accepts one null Key and many null values. :HashMap is bydefault not synchronized. To synchronize the Hash Map using synchronizeMap()
Category:Java Interview Questions
No comments:
Post a Comment