Solved

I am looking for a good definition for Polymorphism

Posted on 2008-10-29
2
280 Views
Last Modified: 2013-12-17
Hello, I am a software C# and sometimes C++ contractor developer. So every six months to a year or every year I have to interview for a new job. Sometimes I get the same technical questions asked of me. The one I find most obnoxious to answer is when I am asked what polymorphism is. There seems to be some very fuzzy definitions of Polymorphism, and so I am looking for a good answer to what "Polymorphism" is. Specifically and answer to use during an interview.
0
Comment
Question by:brgdotnet
2 Comments
 
LVL 2

Accepted Solution

by:
crystyce earned 140 total points
ID: 22838696
In object-oriented programming, polymorphism refers to a programming language's ability to process objects differently depending on their data type or class. More specifically, it is the ability to redefine methods for derived classes. For example, given a base class shape, polymorphism enables the programmer to define different area methods for any number of derived classes, such as circles, rectangles and triangles. No matter what shape an object is, applying the area method to it will return the correct results. Polymorphism is considered to be a requirement of any true object-oriented programming language.

http://www.webopedia.com/TERM/P/polymorphism.html
0
 
LVL 2

Author Closing Comment

by:brgdotnet
ID: 31511390
B+
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now