Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
kindly answer the question.
Posted
Comments
Sergey Alexandrovich Kryukov 20-Feb-13 0:12am    
Such questions are utterly ineffective. Do you want an article on polymorphism to be written on your order. Why not just reading about it?
—SA
enhzflep 20-Feb-13 0:15am    
Kindly ask google. My -1
Azziet 20-Feb-13 0:20am    
check this link ---
http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming

Please see my comment to the question.

Try to start here:
http://en.wikipedia.org/wiki/Polymorphism_%28computer_science%29[^],
http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming[^],
http://www.cplusplus.com/doc/tutorial/polymorphism/[^].

It's hard to explain why do I feel you are doing something wrong. You cannot just ask "what is polymorphism?", "what is inheritance?", etc., and learn something this way. It does not work this way. You have to learn all together, systematically. If you try to learn this here, that there, you won't catch the essence of thing.

Take a book, and read it from the beginning to the end, with a lot of attention, solving exercises as you go. Learn concepts, conceptions and techniques, all together.

—SA
 
Share this answer
 
v2
Yes. Please go through the million of articles found over the web. But in simple terms "Poly" means multi "morph" means form. A single object which exhibits multiple forms/behavior is known as polymorphism. There are 2 kinds 1. Compile Time 2. Run time. We have to write an article to explain these. Better go through a good C++ book.
 
Share this answer
 
Polymorphism literately means 'many forms'.
Basically, one method is allowed to take many forms by using a different parameter set or by overriding in a derived class.
 
Share this answer
 
Comments
Stefan_Lang 16-May-14 9:04am    
Actually, while "Poly" means "many" and "morph" means "form", "polymorph" means "change form" or "transform". Can't say how "many" transforms into "change" - that must be some kind of polymorphism ;-p

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900