Ruby Developer Question: Download Ruby Developer PDF
Tell me what is the function of garbage collection in Ruby on Rails?
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
☛ 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
Previous Question | Next Question |
Can you please explain what is the difference between String and Symbol? | Please explain the three levels of access control for Ruby methods? |