Examveda

What is polymorphism in Ruby?

A. The ability for objects of different classes to be treated as objects of a common superclass

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


Join The Discussion

Related Questions on Object Oriented Programming (OOP) Concepts in Ruby