Examveda

What does the `super` keyword do in Ruby?

A. Calls the method with the same name in the superclass

B. Calls the method with the same name in the subclass

C. Returns the superclass of the current class

D. Jumps to the next iteration of the loop

Answer: Option A


This Question Belongs to Ruby Programming >> Methods In Ruby

Join The Discussion

Related Questions on Methods in Ruby