Pregunta de entrevista de Ericsson

There was a class in which there was defined a function which deletes an object. In main function there was created an instance of class, which then is tried to delete using function declared inside class.

Respuesta de la entrevista

Anónimo

25 jul 2017

There is a possibility of fault if we declare an array of objects, and we try to delete only one object