Home / Programming MCQs / Ruby MCQs / Question

M

Mr. Dubey • 51.43K Points
Coach

Q. What does the term "lexical scope" refer to in Ruby?

(A) The scope determined by the order of execution of statements
(B) The scope determined by the visibility of variables and methods in the current context
(C) The scope determined by where variables and methods are defined in the source code
(D) The scope determined by the order of creation of objects

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.