Vidyalelo
Ruby Programming · Q31

Inheritance and Polymorphism in Ruby

Programming · Ruby Programming · question 31

Q31

What is the significance of using the super keyword in a Ruby class?

A.
It initializes a superclass object
B.
It returns the superclass
C.
It calls the same method in the superclass
Answer
D.
It 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