Vidyalelo
Ruby Programming · Q23

Classes and Objects in Ruby

Programming · Ruby Programming · question 23

Q23

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

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

Answer: Option C

Solution

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