Exforsys

Online Training

Overloading and polymorphism - Are they same

This is a discussion on Overloading and polymorphism - Are they same within the C and C++ forums, part of the Programming Talk category; Hi All, Polymorphism is a certain item appearing in different forms or ways. That is making a function or operator ...


Go Back   Exforsys > Programming Talk > C and C++

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-17-2006, 07:41 PM
Member
 
Join Date: May 2006
Posts: 45
Allan is on a distinguished road
Overloading and polymorphism - Are they same

Hi All,
Polymorphism is a certain item appearing in different forms or ways. That is making a function or operator to act in different forms. I wanted to know whether Overloading and polymorphism refer to same technology. If not what is the difference between the two?

Regards,
Allan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2007, 09:02 AM
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
Overloading is a kind of Polymorphism. The first difference to state is in terms of syntax of appearance of overloaded functions and polymorphic functions. Overloaded functions have structure and calling method just like normal function calls. Polymorphic functions require the use of a dot operator.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.