Apple interview question

Describe what a virtual function does?