Q9
What is the significance of the initialize method in Ruby classes?
A.
It defines class variables
B.
It defines class methods
C.
It is automatically called when a new object is created and allows initialization of instance variables
AnswerD.
It defines instance methods
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board