Q9
What is encapsulation in Ruby classes?
A.
The bundling of data with the methods that operate on that data
AnswerB.
The hiding of data within a class
C.
The inheritance of properties and behaviors
D.
The conversion of data types
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board