Question d’entretien chez Fidelity Investments

What is polymorphism

Réponse à la question d'entretien

Utilisateur anonyme

2 mai 2013

Polymorphism allows you to treat derived objects as if they were base objects. For example, you create a number of specialized BIRD types: Penguins, Parrots, Gulls. All of these derive from BIRDS. BIRDS has a number of methods that are factored out of the derived classes.

1