Vidyalelo
Ruby Programming · Q11

Control Structures in Ruby

Programming · Ruby Programming · question 11

Q11

What does the `next` keyword do in a loop in Ruby?

A.
Continues to the next iteration of the loop
Answer
B.
Exits the loop
C.
Skips the current iteration of the loop
D.
Resets the loop counter to 0

Answer: Option A

Solution

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