Click to See Complete Forum and Search --> : What is Runtime Polymorphism


osraju
September 4th, 2002, 11:03 AM
Cant any one tell me what is Runtime Polymorphism

dude_1967
September 4th, 2002, 01:37 PM
osraju,

Check out this thread. There is very much relevant information in my first posted answer. Build, run and study the sample code in my post.

Make sure that the return type, all qualifiers and all input parameters of the overloaded functions match identically.

Do not overlook the importance of the keyword virtual.

Note that run-time polymorphism can be used with pointers as well as references to objects.

Feel free to post detailed questions again if there is anything you do not understand.

http://www.codeguru.com/forum/showthread.php?threadid=200218

Chris.

:)

kuphryn
September 4th, 2002, 07:21 PM
Conceptually, polymorphism means the program operates on a need to know basis as during run-time.

I do not know my name until someone asks me. Even then, I have many names. I tell a person a different name depending on who I speak to.

Kuphryn