View Single Post
Old 04-15-2013, 02:17 PM   #43
Reincarnate
x'); DROP TABLE FFR;--
Sectional ModeratorFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,334
Default Re: Teach me CS stuff for interviews

Sorry I am at work at the moment so I'm reading these posts at light speed, so I may be asking dumb questions here.

Does this polymorphism concept only apply to iteration? For instance if I instantiated a Cat inheriting from Animal and simply called make_sound() from it, which one does it invoke? What differentiates whether I call animal's make_sound() or the cat's?
Reincarnate is offline   Reply With Quote