Motorola Solutions interview question

Details of hashCode() and equals() function in Java.