Vidyalelo
Ruby Programming · Q16

Modules and Mixins in Ruby

Programming · Ruby Programming · question 16

Q16

In Ruby, what is the purpose of the super keyword?

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

Answer: Option A

Solution

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