SynergisticIT Interview Question

How does Java's garbage collection work

Interview Answer

Anonymous

Nov 4, 2017

Garbage collector responsibility is freeing heap. It searches for not referenced objects. Whenever it finds an object with no reference, the object will be marked for deletion from heap.

1