Why a null
key is not allowed in ConcurrentHashMap
?
In HashMap
, it is allowed and in HashTable
it is not allowed.
Already visited the link :Why does ConcurrentHashMap prevent null keys and values?
But I need the actual reason not the guesses.