Vidyalelo
Ruby Programming · Q19

Modules and Mixins in Ruby

Programming · Ruby Programming · question 19

Q19

What is the primary goal of using polymorphism in Ruby?

A.
To simplify the syntax of a program
B.
To allow for more flexible and reusable code
Answer
C.
To enhance code modularity
D.
None of the above

Answer: Option B

Solution

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