0
In c++ Can a class have more than one destructors?
class usualy have one destructor. can it have more than one?
4 Answers
+ 7
Why would you want to have more than one destructor? When your program wants to call the destructor upon program exit, how is it supposed to know which one to call?
+ 4
why would you need more than one?
btw the answer is no.
+ 1
thanks guys i was asked this question so i asked it from u guys.. my answer was no . but without a reason
0
No.