INTERVIEW QUESTIONS
PROGRAMMING LANGUAGES
RUBY
DETAILS
Question: Explain about 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.
|