Q8
In Ruby, what does the private keyword do when used in a class?
A.
Restricts access to methods below it
AnswerB.
Allows access to methods below it
C.
Makes all methods public
D.
None of the above
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board