Domanda di colloquio di SAIC

why and when would you use a java hashmap over an array list

Risposta di colloquio

Anonimo

24 feb 2010

hashmap is for the storage and manipulating key value pairs. array list is is an indexed list implementation for manipulation of a list of items.

1