Vidyalelo
Ruby Programming · Q28

Inheritance and Polymorphism in Ruby

Programming · Ruby Programming · question 28

Q28

What does the term "polymorphism" refer to in Object-Oriented Programming?

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
D.
None of the above

Answer: Option B

Solution

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