American Express Interview Question

General Java Questions How do you compare two objects?