Tell me what is the difference between calling super() and super call?
Answer / Rishitosh Tyagi
{"super": "The `super` keyword in Ruby calls the parent class’s implementation of the current method. It can be used within a subclass to invoke the parent’s method.","super_call": "`super` is often referred to as invoking a super call, but it's not an actual function or method named `super_call`. If you need to invoke a super class’s constructor, use `super()` or `super class_method_name` instead."
| Is This Answer Correct ? | 0 Yes | 0 No |
Do you know when self.up and self.down method is used?
What are the loops in ruby?
Explain how Symbol is different from variables?
In how many ways items can be removed from array in Ruby?
In Ruby code, often it is observed that coder uses a short hand form of using an expression like array.map(&:method_name) instead of array.map { |element| element.method_name }. How this trick actually works?
Please explain the three levels of access control for ruby methods?
Explain next statement in ruby.
Do you know how ruby looks up a method to invoke?
What is Ruby programming language?
Write the command to get installed Ruby version in your system?
Describe the environment variables present in Ruby?
What is mvc and why do we use it?