Vidyalelo
Ruby Programming · Q3

Inheritance and Polymorphism in Ruby

Programming · Ruby Programming · question 3

Q3

What is polymorphism in OOP?

A.
The ability to hide implementation details
B.
The ability to restrict access to certain methods
C.
The ability for objects of different classes to be treated as objects of a common superclass
Answer
D.
The ability to create multiple instances

Answer: Option C

Solution

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