What is polymorphism? Explain with an example.
Answers were Sorted based on User's Feedback
Answer / charitha
polymorphism means the ability to take more than one form.
an operation may exhibit different behaviors in different
instances. The behavior depends on the data types used in
the operation.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / srinath varma
The concept of assigning a single name have to more than one function which performs closely related jobs is said to be polymorphism.
Here poly means "many" and morphism means "forms".
The concept of polymorphism consists of two categories
1.Function over loading
2.Operator over loading.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mr.a
Polymorphism means one object in many forms.
Means a single object work as different-different ways.
we have 2 types of polymorphism.
1. RuntimePolymorphism
2.compiletimePolymorphism.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / m sajjad
Polymorphism means the same function but have different
tasks Basically polymorphism have combination of two words
"poly" and "morphism" poly means many and morphism means forms
i.e
many things or functions are to be done by only one
int is polymorphism
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vineet
Polymorphism is one of the important feature of OOP's. It
consist of 2 words i.e., 'Poly' which stands for many
and 'Morphism' stands for forms.
polymorphism has concept like function overloading...
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / gelani rahul b
polymorphism means ceate multiple forms. it means single
interface and multiple function are called in polymorphism.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sumiya yeasmin shorna
ploymorphism is a form of simple name multiple
implementation or method and also polymorphism is a function
overloading.
example:
void myclass();
void ~myclass();
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / farhan asad
polymorphion:
The ability of objects of one type to have one and the same interface, but different implementation of this interface.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / adnan zaman
polymorphism means
one interface to many implementations
overloading & overriding examples of polymorphism
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / radha
olymorphism basicilly provides multiple forms to a single
function or functionality to occure.
| Is This Answer Correct ? | 1 Yes | 1 No |
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
class type to basic type conversion
Why is destructor used?
What Is a Polymorphism? How many types of polymorphism and whats that use in application?
Why do pointers exist?
what is the difference between containership and inheritence?
Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3
3 Answers Accenture, Cognizant, IBM,
Can you name some types of inheritance?
What is a superclass in oop?
What is multilevel inheritance?
What is purpose of inheritance?
Templates mean