Pergunta de entrevista da empresa Fidelity Investments

What is polymorphism

Resposta da entrevista

Sigiloso

2 de mai. de 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