Beginner
Ruby
Q14 / 100
Which symbol prefix denotes an instance variable in Ruby?
Correct! Well done.
Incorrect.
The correct answer is B) @
B
Correct Answer
@
Explanation
Instance variables are prefixed with a single "@", e.g. "@name", and are scoped to the object instance.
Progress
14/100