Vidyalelo
Ruby Programming · Q25

Modules and Mixins in Ruby

Programming · Ruby Programming · question 25

Q25

What does the term "polymorphism" mean in Ruby?

A.
The ability to restrict access to certain methods
B.
The ability for objects of different classes to be treated as objects of a common superclass
Answer
C.
The ability to create multiple instances of a class
D.
None of the above

Answer: Option B

Solution

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