Tell me what is the difference between calling super and calling super()?
Answer / Abhaya Kumar Singh
"In Ruby, when you call 'super', it calls the method from the immediate parent class. When you call 'super()', it calls the method of the exact same name from the immediate parent class's superclass (which is Object by default)."
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the data types in ruby?
What is concatenating string in Ruby?
Tell me how symbol is different from variables?
what is the difference extend and include?
How would you create getter and setter methods in ruby?
What happens when a value is too big for fixnum?
Describe class libraries in Ruby?
Why Ruby is known as a language of flexibility?
Explain me what is the difference between symbol and string?
What are ruby blocks.
What is the difference between extend and include?
Please explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?