Multiple Choice
Which of the following statements correctly defines local variable scope?
A) Scope is limited to objects of the class
B) Scope has not limit
C) Scope is limited to the loop, module, class or method in which it is defined
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: A method is an object attribute stored
Q23: A case code block is _.<br>A) A
Q24: The String class's swapcase method converts a
Q25: One of the differences between Ruby and
Q26: Ruby variable names are:<br>A) Case sensitive<br>B) Case
Q28: Interpolation is the process of substituting the
Q29: A constant is very similar to variable,
Q30: Which of the following methods should be
Q31: Ruby supports a number of different types
Q32: Creating a string by embedding characters inside