Vidyalelo
Ruby Programming · Q19

Classes and Objects in Ruby

Programming · Ruby Programming · question 19

Q19

What does the super keyword do in Ruby classes?

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