New course! Every coder should learn Generative AI!
Try a free lesson+ 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.