Q. What is the main advantage of using encapsulation in Ruby?
β
Correct Answer: (C)
It hides the internal state of an object and restricts access to it
You must be Logged in to update hint/solution