Answer Posted / faizanul haque
Poly means "many" and morph means "form" that means an entity existing in many form is set to be polymorphic in nature and its mechanism in known as polymorphism. The example of polymorphism is :
1. Method overloading.
2. Method Overriding.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism used for?
Why do we use oops?
Can you inherit a private class?
What is use of overloading?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is difference between polymorphism and inheritance?
What is abstraction example?
Why do we use class in oops?
What is multilevel inheritance explain with example?
How to use CMutex, CSemaphore in VC++ MFC
What is inheritance in oop?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is the difference between a constructor and a destructor?
What is object and example?