Ruby support single inheritance/multiple inheritance or both?
Answer / Pushpendra Singh Thakur
Ruby supports Single Inheritance, meaning a class can inherit from only one superclass. It does not support Multiple Inheritance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is ruby a dying language?
Does hash use “ #==” or “#eql?” To compare hash keys?
what is class libraries in Ruby?
what is the difference extend and include?
In how many ways a block is written in Ruby?
What is ruby object?
Tell me how you can list all routes for an application?
Explain the use of retry statement in ruby?
How would you freeze an object in ruby?
Is ruby supports single inheritance/ multiple inheritance or both?
How to write multiline string in Ruby?
What is the difference between “#==” and “#equal?”