Name a typical usage of polymorphism

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class in oop?

599


Why multiple inheritance is not allowed?

581


Why is destructor used?

581


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

1652


What is static modifier?

630






Why is oop useful?

601


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3550


What is polymorphism in oops?

556


What is class and object in oops?

607


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6483


Why is polymorphism needed?

591


What is encapsulation example?

545


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4236


Please send ford technologies placement paper 2 my mail id

1652


write a program that takes input in digits and display the result in words from 1 to 1000

1985