Solved

I am looking for a good definition for Polymorphism

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

13 Experts available now in Live!

Get 1:1 Help Now