Q. What does the attr_accessor method do in Ruby OOP?
β
Correct Answer: (D)
Creates both reader and writer methods for class attributes
You must be Logged in to update hint/solution