Q5
Which loop in Ruby allows you to iterate over a collection of elements?
A.
while
B.
for
C.
until
D.
each
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board