Ruby Developer Question: Download Ruby Developer PDF

Tell me what is the function of garbage collection in Ruby on Rails?

Tweet Share WhatsApp

Answer:

The functions of garbage collection in Ruby on Rails includes

☛ It enables the removal of the pointer values which is left behind when the execution of the program ends
☛ It frees the programmer from tracking the object that is being created dynamically on runtime
☛ It gives the advantage of removing the inaccessible objects from the memory, and allows other processes to use the memory

Download Ruby Developer PDF Read All 74 Ruby Developer Questions
Previous QuestionNext Question
Can you please explain what is the difference between String and Symbol?Please explain the three levels of access control for Ruby methods?