Examveda

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

Answer: Option C


This Question Belongs to Ruby Programming >> Advanced Topics In Ruby

Join The Discussion

Related Questions on Advanced Topics in Ruby