Frage im Vorstellungsgespräch bei Mastercard

Can you store null as key or value in Hashmap

Antworten zu Vorstellungsgespräch

Anonym

11. Aug. 2018

Yes

Anonym

14. Okt. 2018

Yes, there can be max one null key allowed in HashMap. However, There can be multiple null values in HashMap.