Answer Posted / abdul vakeel
beatiful example for polymorphism.....
A boy stat 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
What is static in oop?
Can destructor be overloaded?
Advantage and disadvantage of routing in telecom sector
What are the 4 pillars of oop?
write knight tour problem which is present in datastructure
Can you inherit a private class?
What is the difference between procedural programming and oops?
What is difference between inheritance and polymorphism?
What are benefits of oop?
Can enum be null?
Why do we use class in oops?
What is abstraction in oop?
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 can you overcome the diamond problem in inheritance?
What is coupling in oops?