Name a typical usage of polymorphism
Answers were Sorted based on User's Feedback
Answer / ankur 9039630226
show more than one form means one function many operations such as add(int,int)and add(int, int, int , float);
here same add function but two different operations
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / brunda r
Polymorphism plays a very important role in allowing objects
having different internal structures to share the same
external interface.Its Its extensively used in implementing
inheritance.
| Is This Answer Correct ? | 5 Yes | 1 No |
What are the types of abstraction?
What is Agile methodology?
20 Answers ABC, Accenture, College School Exams Tests, Inmar, Microsoft, Sapient,
why to use operator overloading
What is encapsulation in ict?
What are functions in oop?
WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
what is runtime polymorphism? For the 5 marks.
What is the main feature of oop?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
What is the highest level of cohesion?
Which language is pure oop?