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 difference between abstraction and encapsulation?
What is oop in simple words?
What are the valid types of data that the main () can return in C/C++ language
What is super in oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
difference between class and object
10 Answers Chandan, IBM, Magic Soft,
The type of variable a pointer points to must be the part of pointer's definition so that:
what is difference between c++ language and java language
What is variable example?
how much classes are used in c++
What is multiple inheritance? Give Example
Can bst contain duplicates?