Geeks With Blogs
Information -> Source for Next Generation

In one of technical discussion with friends, different topics were discussed, there was a point on Polymorphism, one of those feels, Polymorphism is not of use and debate continued.


His supporting points are

Polymorphism is to have common name for similar type of functionality  and for different data types and arguments.

a)      How do we know that which data types a function/procedure it supports?

b)      Even if I know, the function name is not self explanatory

a.       Eg: add(int, int) , add(double, double)


Which could be easily expressed as addInteger(int, int) and addDouble(double,double).


I could say polymorphism has been included as a flavored item, to increase the list in OOPs,  for advertising.


Is this so?????

Posted on Tuesday, April 27, 2004 3:05 PM C# | Back to top

Comments on this post: Mark of Polymorphism

# re: Mark of Polymorphism
Requesting Gravatar...
Armor2net Personal Firewall is able to stop Internet pop-up ads, a feature that can be customized for each individual Web site. The program will also search your computer for spyware, and remove the spyware components safely.
For more information, please visit:
Left by Grant Brown on Aug 18, 2004 7:43 AM

Your comment:
 (will show your gravatar)

Copyright © Raju | Powered by: