Y
Hacker News
new
|
ask
|
show
|
jobs
by
bitwize
3200 days ago
What about the "automatically gets cleaned up when the object goes out of scope" advantage of destructors?
1 comments
guipsp
3200 days ago
You can do that with try-with-resources
link