Fidelity Investments

www.fidelity.com
Employer Engaged

Interview Question

Software Engineer Interview Marlborough, MA

What is polymorphism

Answer

Interview Answer

1 Answer

0

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.

Justin on May 1, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.