Answer Posted / Dileep Kumar Pandey
"Ruby has two main iterators: each and loop. The 'each' iterator is used to iterate over collections, such as arrays or hashes. The 'loop' iterator is used for more complex iteration scenarios, including conditional break and continue."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers