Pregunta de entrevista de Amisoft Technologies

Which two method you need to implement for key Object in HashMap ?