Is ruby supports single inheritance/ multiple inheritance or both?
Answer / Hina Jain
"Ruby supports single inheritance but not multiple inheritance. Single Inheritance allows a class to inherit properties from one superclass. However, Ruby provides a workaround for multiple inheritance using modules."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between nil and false in ruby?
Is ruby a dying language?
Tell us the types of variables available in ruby class?
How to use ruby methods.
How to create ruby object?
Explain about interpolation?
Explain the concepts and capabilities of garbage collection feature of Ruby?
What is the difference between throw/catch and raise/rescue?
Please explain the three levels of access control for ruby methods?
What does mri most commonly stand for?
How will you rename and delete a file in Ruby?
What things we can define in the model?