What is polymorphism? Explain with an example.

Answer Posted / nitish

Polymorphism stand of the simple combination of 2words, i.e
Poly+morphism i.e many+form of. these belongs to various
formats. But their basic reason remains the same in the
functioning.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is interface? When and where is it used?

1665


What is class and example?

569


What are properties in oop?

612


What is for loop and its syntax?

598


What is the real time example of inheritance?

645






why reinterpret cast is considered dangerous?

1905


i got a backdoor offer in process global,Bangalore..Can i work with it?

2329


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.

701


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).

1671


What is the diamond problem in inheritance?

579


What are classes oop?

599


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2765


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1647


Why do we use polymorphism in oops?

584


What are the components of marker interface?

605