What is the purpose of polymorphism in Ruby?
A. It allows creating multiple instances of a class
B. It allows restricting access to certain methods
C. It allows objects of different classes to be treated as objects of a common superclass
D. It allows hiding the implementation details of a class
Answer: Option C
Join The Discussion