What is polymorphism ? Explain with examples

Answer Posted / selvi

Polymorphism means one in many forms.It describes a method
in different characteristics. A method gets differentiated
by its Function signature. Function signatures are
datatypes, Number of parameters used in method. For
example, a method called Calculation has different
character such as add, sub, mul, div, etc.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3835


What is constructor overloading in oop?

607


What is an advantage of polymorphism?

593


Can static class have constructor?

585


What is encapsulation in oop?

604






What is debug class?what is trace class? What differences are between them? With examples.

1608


What are the features of oop?

637


Plese get me a perfect C++ program for railway/airway reservation with all details.

3427


What is abstraction in oop with example?

644


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6149


What is constructor in oop?

587


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1793


What are the components of marker interface?

600


Can main method override?

583


Get me a number puzzle game-program

1694