Ruby Developer Question:
Download Questions PDF

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

Ruby Developer Interview Question
Ruby Developer Interview Question

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 Interview Questions And Answers PDF

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?