Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jasmine Grant   on Jul 15 In Java Category.

  
Question Answered By: Daya Sharma   on Jul 15

hashmap is unsyncronized and allow a null key and null
value.but hashmap is syncronized and does not allow a
null value.


if u want to make the haspmap object to be syncronized
use.

MashMap obj=Collection.suncronizedMap(new HashMap())

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Hashmap Or get search suggestion and latest updates.


Tagged: