Answer Posted / iqra
Polymorphism indicates the ability of an object to have methods with the same name but the different contents.
For example: two command buttons on a form might both have paint method.
The code in each object is different altough the name of method is the same
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do pointers exist?
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
Why is oop useful?
What is an advantage of polymorphism?
What are the three parts of a simple empty class?
Where is pseudocode used?
why reinterpret cast is considered dangerous?
What is polymorphism and why is it important?
What is encapsulation c#?
What is the difference between encapsulation and polymorphism?
What is the difference between a mixin and inheritance?
class type to basic type conversion
What is difference between inheritance and polymorphism?
What is debug class?what is trace class? What differences are between them? With examples.
Why do we use encapsulation in oops?