Pergunta de entrevista da empresa JPMorganChase

Can you tell me the relationship between hashcode and equalsTo when comparing HashMaps?