Pregunta de entrevista de Infosys

Different methods to copy an object.