What is polymorphism ? Explain with examples
Answer Posted / khushpreet kaur.
Polymorphism is taken from the greek word which means "many
forms"...
So polymorphism means "to carry out operations of
different processing steps by function having same
messages".
when a base class member function can be overridden by
defining a derived class member function with same name as
that of the base class member function,then such type of
concept is called "Polymorphism".(one interface multiple
methods)
polymorphism is of two types- compile time(early or static
binding) and run time(dynamic or late binding)..
in comlite time is of two types-function overloading and
operator overloading.
in run time is of two types-virtual function and pure
virtual function..
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is class in oop with example?
Prepare me a program for the animation of train
What do you mean by Encapsulation?
What are different oops concepts?
Why interface is used?
Write a program to sort the number with different sorts in one program ??
What is interface in oop?
What is the difference between abstraction and polymorphism?
Why is abstraction needed?
can we make game by using c
Why do we need oop?
Why is polymorphism important in oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is coupling in oops?
What is the problem with multiple inheritance?