Fidelity Investments Interview Question: What is polymorphism... | Glassdoor

Interview Question

Software Engineer Interview Marlborough, MA

What is polymorphism


Interview Answer

1 Answer


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.