+ 2
Can a destructor delete static variables....?
2 odpowiedzi
+ 4
a destructor delete an instance of a class, So it does not delete what is in a class, like an static variable or method
+ 1
I don't think so , static variables are deleted automatically at the end of life time