Ruby Programming Language Question:

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

Ruby Interview Question
Ruby Interview Question

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.


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