Rocket Software interview question

Java questions like how two objects can be equal