Vidyalelo
Ruby Programming · Q4

Inheritance and Polymorphism in Ruby

Programming · Ruby Programming · question 4

Q4

What is the purpose of the super keyword in Ruby OOP?

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

Answer: Option B

Solution

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