Pergunta de entrevista da empresa Morgan Stanley

If you have two objects, how do you know that they are same or not.