Vidyalelo
Ruby Programming · Q24

Methods in Ruby

Programming · Ruby Programming · question 24

Q24

What does the `super` keyword do in Ruby?

A.
Calls the method with the same name in the superclass
Answer
B.
Calls the method with the same name in the subclass
C.
Returns the superclass of the current class
D.
Jumps to the next iteration of the loop

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board