Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 4
Can destructors be private?
2 Answers
+ 4
i think they are private by default
+ 2
Of course, that will only allow you to use it internally. You couldn't to use it to make object outside of the class.