Which of the following is called when an object is destroyed?
Correct answer
A. A destructor
A. A destructor
The answer is A destructor.
Asked in: Engineering Computer Engineering Practice
https://en.wikipedia.org/wiki/Object-oriented_programmingNot sure why the answer is A? Ask here and get an explanation.