Sollicitatievraag bij Mastercard

Can you store null as key or value in Hashmap

Antwoorden op sollicitatievragen

Anoniem

11 aug 2018

Yes

Anoniem

14 okt 2018

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