Examveda

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

A. Using accessor methods

B. Using instance methods

C. Using class methods

D. Using global variables

Answer: Option B


This Question Belongs to Ruby Programming >> Classes And Objects In Ruby

Join The Discussion

Related Questions on Classes and Objects in Ruby