1

Which of the following is true about the stability of variables within a block in Ruby?

Correct Answer: Variables defined within the block cannot be modified outside the block

Make the most of this question

This page focuses on one Ruby MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Ruby MCQs MCQ: Which of the following is true about the stability of variables within a block in Ruby? | Extra Education