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
Whats oop mean?
How do you achieve runtime polymorphism?
Can abstract class have normal methods?
How to call a non virtual function in the derived class by using base class pointer
is there any choice in opting subjects like 4 out of 7
what is the sylabus for priliminaries?
What does I oop mean?
What is meant by multiple inheritance?
what are the ways in which a constructors can be called?
What is multilevel 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 multilevel inheritance in oop?
What is data binding in oops?
What is new keyword in oops?
What are objects in oop?