Wipro interview question

Hash method and equals use