Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
kindly answer the question.
Posted 19-Feb-13 19:10pm
Comments
Sergey Alexandrovich Kryukov at 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 at 20-Feb-13 0:15am
   
Kindly ask google. My -1
Azziet at 20-Feb-13 0:20am
   
check this link ---
http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

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.
  Permalink  
Comments
Stefan_Lang at 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)

  Print Answers RSS
0 Peter Leow 395
1 Sergey Alexandrovich Kryukov 350
2 Zoltán Zörgő 258
3 CHill60 195
4 CPallini 165
0 Sergey Alexandrovich Kryukov 8,943
1 OriginalGriff 6,631
2 Peter Leow 4,102
3 Zoltán Zörgő 3,714
4 Kornfeld Eliyahu Peter 2,525


Advertise | Privacy | Mobile
Web02 | 2.8.150123.1 | Last Updated 16 May 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100