+ 3
Is there a destructor in JAVA ? +10x
How can i write a class destructor in Java (or get the same efect) ? i would like to file.close() and say "good bye" at the end of my application. THANK YOU :-)
5 odpowiedzi
+ 3
Nope because it's garbage collected
https://stackoverflow.com/a/171957/11059514
+ 4
Shukriya Anhjje 😁
+ 4
~ swim ~ Thank you. we love pink floyd ~ swim ~