Q25
What is the primary purpose of a constructor in a Ruby class?
A.
To initialize instance variables
AnswerB.
To define class methods
C.
To create new instances of the class
D.
To define getter and setter methods
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board