Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 6th, 2006, 4:41 PM   #1
Jon
Newbie
 
Join Date: May 2006
Posts: 3
Rep Power: 0 Jon is on a distinguished road
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.
Jon is offline   Reply With Quote
Old May 6th, 2006, 5:34 PM   #2
zorin
Hobbyist Programmer
 
Join Date: Apr 2005
Posts: 218
Rep Power: 4 zorin is on a distinguished road
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:
pretty much all i know is how to use it
So was you taught about Polymorphism and why it is used ? or did you not fully understand it ?
zorin is offline   Reply With Quote
Old May 6th, 2006, 5:57 PM   #3
Jon
Newbie
 
Join Date: May 2006
Posts: 3
Rep Power: 0 Jon is on a distinguished road
Quote:
Originally Posted by zorin
Did you even use www.google.com ?
Yes, I did use google, but this looked like a good place to get some additional information. You never know if someone might know a good website you missed. BTW thanks for those i hadn't seen the first one.
Jon is offline   Reply With Quote
Old May 8th, 2006, 2:11 AM   #4
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6 bl00dninja is on a distinguished road
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.
bl00dninja is offline   Reply With Quote
Old May 8th, 2006, 2:16 AM   #5
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6 bl00dninja is on a distinguished road
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.
bl00dninja is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:07 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC