Altimetrik interview question

write override method hashcode and equals having 3 variable