asked 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.

asked
User Rzelek
by
8.1k 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.

answered
User Mikel Rychliski
by
8.0k points