Vidyalelo
Ruby Programming · Q34

Classes and Objects in Ruby

Programming · Ruby Programming · question 34

Q34

What is the method used to access instance variables in Ruby?

A.
Using accessor methods
B.
Using instance methods
Answer
C.
Using class methods
D.
Using global variables

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board