Answer Posted / abdul vakeel
Having the same name but different forms is the polymorphism....
beatiful example for polymorphism.....
A boy start LOVE with the word FRIENDSHIP....and girl ends
her LOVE with same word FRIENDSHIP..in this the word is same
...but attitude is different...this is called polymorpic
behaviour........
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you define a class in oop?
What is a class oop?
Why is there no multiple inheritance?
What is stream in oop?
What is static modifier?
What is coupling in oops?
What are the three main types of variables?
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
How many human genes are polymorphic?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Explain the advantages of inheritance.
what is the sylabus for priliminaries?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
when to use 'mutable' keyword and when to use 'const cast' in c++
Write a program to sort the number with different sorts in one program ??