“Polymorphism†the powerful future of object oriented programming

Discussion in 'C++' started by johnBMitchell, Apr 12, 2012.

  1. johnBMitchell

    johnBMitchell New Member

    Joined:
    Feb 17, 2011
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    CA, USA
    Home Page:
    http://www.spinxwebdesign.com/
    Polymorphism is a way to make enable to handle different form of data types at execution time. Data types might be either integer or string. This concept of polymorphism can make the function to be polymorphic and handle the given data type (integer or string) according to value entered. For example Suppose programmer define user to enter his name either number - integer form or name - a string form so polymorphic function can handle it and distinguish according to data entered by user.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice