Vidyalelo
Ruby Programming · Q5

Control Structures in Ruby

Programming · Ruby Programming · question 5

Q5

Which loop in Ruby allows you to iterate over a collection of elements?

A.
while
B.
for
C.
until
D.
each
Answer

Answer: Option D

Solution

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