sweety sinha wrote: "hash map can have one null key & multiple null values" null values is alright but how can it has null key. then can values be retrieved from it.
Had you tried to put a "null" value as a key in HashMap instance, lets try it and tell us whether you're able to fetch the respective "value" from it ?