Vidyalelo
Ruby Programming · Q22

Modules and Mixins in Ruby

Programming · Ruby Programming · question 22

Q22

What is the primary benefit of using inheritance in Ruby?

A.
It promotes code reusability and reduces redundancy
Answer
B.
It improves code performance
C.
It simplifies the syntax of a program
D.
It enhances code modularity

Answer: Option A

Solution

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