Examveda

Which of the following is used to define a block of code that executes repeatedly until a condition is met in Ruby?

A. for

B. until

C. loop

D. while

Answer: Option C


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

Join The Discussion

Related Questions on Control Structures in Ruby