Multiple Choice
Which of the following lists reflects a left-to-right increase in variable scope?
A) local, global, class, instance
B) local, class, instance, global
C) local, instance, class, global
D) instance, class, local, global
Correct Answer:

Verified
Correct Answer:
Verified
Q18: Encapsulation is the ability to make important
Q19: Encapsulation allows the internal representation of objects
Q20: You should assign variables the lowest level
Q21: Abstraction involves the restriction of access to
Q22: A variable with a global scope can
Q24: Global variables begin with the _ character.<br>A)
Q25: By creating objects based on Ruby's built-in
Q26: With inheritance, the derived class, sometimes referred
Q27: Which of the following types of variables
Q28: Instance variables begin with the _ character.<br>A)