Pregunta de entrevista de Wipro

How does the hashmap works in java?