Vidyalelo
Ruby Programming · Q35

Object Oriented Programming (OOP) Concepts in Ruby

Programming · Ruby Programming · question 35

Q35

In Ruby, what is the purpose of the `super` keyword when used in a method?

A.
Calls the same method in the superclass
Answer
B.
Calls the same method in the subclass
C.
Calls a method with the same name
D.
Calls a method in a different class

Answer: Option A

Solution

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