Explain polymorphism? What r the types of polymorphism?
pls give examples?
Answer Posted / vadivel
Right answer is,
Polymorphrism means the "Many forms", is feature that
allows one interface to be used for a general class of
actions. The specifc action is determined by the nature of
the situation.
Two types of polymorphrism, 1. Compile time
(Operator/Functional overloading) [Language 'C' supported
polymorphrism]. 2. Run time (Virtual function).
Example:
//function prototype
int Addition(int iOperand1, int iOperand2);
float Addition(float fOperand1, float fOperand2);
float Addition(int iOperand1, float fOperand2);
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is data binding in oops?
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.
What are main features of oop?
Which is not an object oriented programming language?
Why oops is important?
What is constructor in oop?
Write a c++ program to display pass and fail for three student using static member function
Can abstract class have normal methods?
What is meant by oops concept?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is the point of oop?
What is encapsulation selenium?
What are the 3 pillars of oop?
Why is oop useful?