Morgan Stanley interview question

describe your understanding in hashcode() and equal().