Name a typical usage of polymorphism

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write string class as your own class in java without using any built-in function

1976


What is encapsulation c#?

600


What are the 3 principles of oop?

619


What is polymorphism and example?

592


What is inheritance write a program to show use of inheritance?

611






What is difference between polymorphism and inheritance?

617


How to hide the base class functionality in Inheritance?

638


What are different oops concepts?

578


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1657


Can static class have constructor?

585


How long to learn object oriented programming?

565


What are functions in oop?

584


Why is polymorphism used?

586


when to use 'mutable' keyword and when to use 'const cast' in c++

1644


What does <> mean pseudocode?

624