2 ms·
What about the "automatically gets cleaned up when the object goes out of scope" advantage of destructors?
by bitwize 9y ago
What about the "automatically gets cleaned up when the object goes out of scope" advantage of destructors?
- guipsp 9y agoYou can do that with try-with-resources