Answer Posted / santosh mohapatra
Polymorphism is a Greeck word which can be divided into 2
sub word i.e., poly stands for many and morphism stands for
forms. It is one of the essential feature of OOP's. This
feature is mainly used for the member functions of a class.
THe polymorphism is used to overload a function in a same
memory location i.e. the reusability of a function with
different parameters.
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Why is encapsulation used?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Which type does string inherit from?
program for insertion ,deletion,sorting in double link list
hi all..i want to know oops concepts clearly can any1 explain??
What are the 4 main oop principles?
How do you answer polymorphism?
Whats oop mean?
When not to use object oriented programming?
What does <> mean pseudocode?
What do you mean by variable?
What is polymorphism used for?
What is the real time example of inheritance?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is an advantage of polymorphism?