Examveda

What does the term "polymorphism" mean in the context of Ruby programming?

A. The ability of objects to be treated as instances of their parent class

B. The practice of defining multiple methods with the same name but different implementations

C. The ability of objects to respond to the same method call in different ways

D. The practice of overriding inherited methods with custom behavior

Answer: Option C


Join The Discussion

Related Questions on Best Practices and Code Conventions in Ruby