what is polymorpsim? what are its types?
Answers were Sorted based on User's Feedback
Answer / a
Polymorphism means more than one form.Polymorphism is the
concept to use a function or a operator in more than one
form.Polymorphism in c++ is applied through the concept of
Function overloading,Operator overloading and via virtual
function.
| Is This Answer Correct ? | 21 Yes | 2 No |
Answer / niranjan ambati
By using "virtual" keyword infront of "implementation
methods" declarations in the class, polymorphisim can be
achieved. late binding(run time execution)
,Encapsulation(APIs), avoid ambiguity between multi
inheritance can be achieved thru polymorphisim.. Using
polymorphisim, the objects will call correct methods at run
time by using virtual pointer table.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sudha
polymorphism is having more than one form.
Types of polymorphism are Run-time and compile-time
polymorphism
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / varsha agrawal
polymorphism means "poly" means 'one' and "morphism" means
'forms'. so we can say that polymorphism means one name
which has multiple forms.
ex:-blood group.
polymorphism are two types:
1) Static polymorphism: this is taken place in compile time.
2) Dynamic polymorphism: this is taken place in compile time.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / yuvi
polymorpsim is the form of operation and function. you can
use polymorpsim in your programing langauge
the simple difnation for polymorpsim is one entity can
exist diffrent type of form.
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / sandhya.v
when a base class has to be changed with some minor or
major changes, it can be done through two methods . The
first method is using the keyword "new" and the second
method is by using "Override",The concept of using this is
called of olymorphism , The types are ad hoc polymorphism
and parametrized polymorphism..
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / maahi
polymorphism is an oops concept,it meanse the ability to
take more than one form.polymorphism allows different object
ti respond to the same message in diffent ways.
there are two
types of polymorphism.
1.compile time
2.run time
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jaimin patel
polymorpsim is the greek term ,it is the ability to take more than one form.as example one operation may exhibit different behaviour in diffrance time.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is encapsulation selenium?
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?
What is purpose of inheritance?
Polymorphism with an example?
How do you achieve runtime polymorphism?
What is late bound function call and early bound function call? Differentiate.
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??
21 Answers Biocon, MIT, NIIT,
What is the default size allocated for array in the statement if size not specified " int a[] "
What is overriding vs overloading?
What is solid in oops?
What are the different forms of polymorphism??
what is difference between class template and template class?