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 |
Explain about environment variables present in ruby?
Explain ruby data types.
List some features of ruby?
Explain the difference in scope for these two variables: @@name and @name?
How to use ruby methods.
What is the difference between extend and include?
what is a class library in Ruby?
What are the three levels of method access control for classes and what do they signify? What do they imply about the method?
Describe the environment variables present in Ruby?
What are Ruby arrays and how they can be created?
Tell me can you call a private method outside a ruby class using its object?
Explain ruby ranges. What are the ways to define ranges?