Vidyalelo
Ruby Programming · Q2

Modules and Mixins in Ruby

Programming · Ruby Programming · question 2

Q2

What does the super keyword do in Ruby?

A.
Initializes a superclass object
B.
Returns the superclass
C.
Calls the same method in the superclass
Answer
D.
Calls the same method in the subclass

Answer: Option C

Solution

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