Multiple Choice
In Ruby variable scope is indicated by the first character in a variable's name. The character used to specify a global variable is?
A) $
B) @
C) @@
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q39: When the user presses Enter in order
Q40: Concatenation is the process of splitting a
Q41: Which of the following methods does not
Q42: Concatenation is performed using the & character.
Q43: Ruby provides the ability to generate random
Q45: Inheritance is an object-oriented process that allows
Q46: Which of the following variable names is
Q47: Escape characters provide the ability to embed
Q48: Single-quoted strings support both escaping and variable
Q49: Objects are partially self-contained entities designed to