Vidyalelo
Ruby Programming · Q30

Object Oriented Programming (OOP) Concepts in Ruby

Programming · Ruby Programming · question 30

Q30

What is polymorphism in Ruby?

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

Answer: Option A

Solution

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