Examveda
Examveda

What is the purpose of the redo keyword in Ruby?

A. Repeats the current iteration of the loop

B. Exits the loop

C. Skips the current iteration of the loop

D. Restarts the loop from the beginning

Answer: Option A


This Question Belongs to Ruby Programming >> Control Structures In Ruby

Join The Discussion

Related Questions on Control Structures in Ruby