CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Location
    Pakistan
    Posts
    2

    What is Runtime Polymorphism

    Cant any one tell me what is Runtime Polymorphism
    Öväï§ Thë Römëö

  2. #2
    Join Date
    Jun 2002
    Location
    Germany
    Posts
    1,557

    Thumbs up

    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/showth...hreadid=200218

    Chris.

    Last edited by dude_1967; September 4th, 2002 at 01:46 PM.
    You're gonna go blind staring into that box all day.

  3. #3
    Join Date
    Feb 2002
    Posts
    5,757
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured