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 are different oops concepts?
Can main method override?
Explain the concepts involved in Object Oriented programming.
What are oops methods?
Whats is abstraction in oops?
What do you mean by overloading?
How to call a non virtual function in the derived class by using base class pointer
What polymorphism means?
How is class defined?
What language is oop?
what is difference between class template and template class?
How Do you Code Composition and Aggregation in C++ ?
What is oops and its features?
What is the important feature of inheritance?
write a program that takes input in digits and display the result in words from 1 to 1000