Vidyalelo
Ruby Programming · Q8

Classes and Objects in Ruby

Programming · Ruby Programming · question 8

Q8

What does the super keyword do in Ruby?

A.
Calls the method of the superclass with the same name
Answer
B.
Calls the method of the subclass with the same name
C.
Exits the method
D.
Returns a value

Answer: Option A

Solution

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