Vidyalelo
Ruby Programming · Q26

Object Oriented Programming (OOP) Concepts in Ruby

Programming · Ruby Programming · question 26

Q26

What does the super keyword do in a Ruby class method?

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