What is polymorphism? Explain with an example.

Answer Posted / vineet

Polymorphism is one of the important feature of OOP's. It
consist of 2 words i.e., 'Poly' which stands for many
and 'Morphism' stands for forms.

polymorphism has concept like function overloading...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1677


What is the example of polymorphism?

566


What is polymorphism oop?

633


What are main features of oop?

646


What is difference between class and object with example?

571






Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

709


which feature are not hold visual basic of oop?

1733


Can you explain polymorphism?

591


What is constructor overloading in oop?

616


Why we use classes in oop?

593


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1629


What is advantage of inheritance?

696


What is variable example?

599


What is a class and object?

602


What is encapsulation example?

557