![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2006
Posts: 3
Rep Power: 0
![]() |
Questions about polymorphism
I have a paper on polymorphism due in two days and pretty much all i know is how to use it, so i would really appriatiate any info about it i can get, specifically why is it so important, and what it is used for. If anyone can tell me some of that stuff, or send me a link to a good website about polymorphism i would really appritiate it.
|
|
|
|
|
|
#2 | |
|
Hobbyist Programmer
Join Date: Apr 2005
Posts: 218
Rep Power: 4
![]() |
Did you even use www.google.com ?
Well I did it for you and turned up these results: http://www.programmersheaven.com/2/C...m-Is-Important http://en.wikipedia.org/wiki/Polymor...ter_science%29 http://en.wikipedia.org/wiki/Polymor...ed_programming Quote:
|
|
|
|
|
|
|
#3 | |
|
Newbie
Join Date: May 2006
Posts: 3
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
allowing decisions of that nature to be made at runtime rather than compile-time is very efficient. my limited understanding seems to point to that as the principle goal of the subject. please correct if wrong.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#5 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
by "decisions of that nature" i mean when to create objects of different types.
if you have an ADT user class and you need to know when to instantiate a "limited user" "advanced user" or "superuser" object of a class when creating an account for network users or something.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|