Ruby Programming Language Question:
Download Questions PDF

Explain the concepts and capabilities of garbage collection feature of Ruby.

Answer:

► Ruby is an object oriented language and every object oriented language tends to allocate many objects during execution of the program.
► Ruby deletes unallocated and unused objects automatically.
► This feature can be controlled by applying proper syntax and program through ruby.

Download Ruby Interview Questions And Answers PDF

Previous QuestionNext Question
Describe class libraries in Ruby.Describe the environment variables present in Ruby.