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 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
Can we have inheritance without polymorphism?
What is solid in oops?
What is destructor in oop?
What is encapsulation c#?
what is difference between class template and template class?
What is multilevel inheritance?
How does polymorphism work?
What does enum stand for?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
How do you use inheritance in unity?
What is overriding in oop?
What is multilevel inheritance in oop?
What is the important feature of inheritance?
explain sub-type and sub class? atleast u have differ it into 4 points?