Vidyalelo
Ruby Programming · Q7

Modules and Mixins in Ruby

Programming · Ruby Programming · question 7

Q7

What is encapsulation in Ruby?

A.
The inheritance of properties and behaviors
B.
The bundling of data with the methods that operate on that data
Answer
C.
The conversion of data types
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board