Solved

I am looking for a good definition for Polymorphism

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 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