Vidyalelo
Ruby Programming · Q10

Modules and Mixins in Ruby

Programming · Ruby Programming · question 10

Q10

What is the main purpose of using inheritance in Ruby?

A.
To promote code reusability and reduce redundancy
Answer
B.
To improve code performance
C.
To simplify the syntax of a program
D.
To enhance code modularity

Answer: Option A

Solution

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