Vidyalelo
Ruby Programming · Q21

Classes and Objects in Ruby

Programming · Ruby Programming · question 21

Q21

Which keyword is used to refer to the current instance of a class in Ruby?

A.
self
Answer
B.
instance
C.
@
D.
this

Answer: Option A

Solution

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