+ 4
What exactly is a garbage collector? and How to use it?
Someone explained to me once but I still don't understand :\
3 Respostas
+ 8
We don't use garbage collector explicitly. It's an automated process to free up unused resource in the application and you can think of it like a maid in the program. 😉
Most of the time we don't really need to care about it unless writng in unmanaged code.
+ 4
here you go : https://en.m.wikipedia.org/wiki/Garbage_collection_(computer_science)
+ 3
It is a way to destroy the unused objects. Java make that automatically