Polymorphism with an example?

Answer Posted / anil

polymorphism means implementing different functionality's
with the same name and different type of arguments and
different number of parameters.We can achieve polymorphism
using function overloading and function overriding.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is inheritance and how many types of inheritance?

607


What is oops concept with example?

570


What are classes oop?

591


Why is polymorphism needed?

584


What is the difference between encapsulation and polymorphism?

580






Can abstract class have normal methods?

600


What is abstraction encapsulation?

646


Are polymorphisms mutations?

690


Can you name some types of inheritance?

632


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

3550


Can a varargs method be overloaded?

613


any one please tell me the purpose of operator overloading

1959


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.

1780


Why do we use class?

623


Where is pseudocode used?

556