What role does garbage collection play?

  • It enables removal of pointer values that are left behind after the program execution ends.
  • It releases the programmer from tracking objects that get created dynamically on runtime.
  • It facilitates the removal of distant objects from the memory so that other processes can use the memory.

Suggest An Answer

No suggestions avaliable!

Latest post from Ruby on rails interview questions

Ask Question