Questa è la tua azienda?
Can a hashmap have multiple null keys?
Anonimo
No. HashMap is allowed to have only 1 null. If you try to add a second entry with null key, instead of a new entry the previous entry gets updated, i.e., the value is overwritten.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.