Solved

I am looking for a good definition for Polymorphism

Posted on 2008-10-29
2
282 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

815 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

11 Experts available now in Live!

Get 1:1 Help Now