Google News
logo
Java - Interview Questions
which algorithm is used by garbage collector to remove the unused variables or objects from memory ?
Garbage collector uses many algorithms but the most commonly used algorithm is mark & sweep.
Advertisement