166k views
1 vote
_____________________ is the ability of an OOP language to call the correct version of an overridden method, depending on what type of object it was called on.

User Rzelek
by
5.9k points

1 Answer

5 votes

Answer:

Polymorphism.

Step-by-step explanation:

Polymorphism is the ability of an object-oriented programming (OOP) language to call the correct version of an overridden method, depending on what type of object it was called on.

This is illustrated by the process in which a parent class points to an object found or residing in the child class. For example, a goat is a sub class of an animal; thus, any goat is an animal.

User Mikel Rychliski
by
5.5k points