Pergunta de entrevista da empresa Infosys

Two objects created with same value passed. What will be output in obj1==obj2 and obj.equals(obj2).