Answer Posted / gelani rahul b
polymorphism means ceate multiple forms. it means single
interface and multiple function are called in polymorphism.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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 does enum stand for?
What is the real time example of inheritance?
What is the difference between a mixin and inheritance?
c++ program to swap the objects of two different classes
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is destructor give example?
What is a superclass in oop?
What is super in oop?
hi all..i want to know oops concepts clearly can any1 explain??
What is object and class in oops?
What is oops concept with example?
What is encapsulation and abstraction? How are they implemented in C++?
How do you achieve polymorphism?
what is graphics