What is polymorphism ? Explain with examples

Answer Posted / ashok kumar

polymorphism means many forms,greekword-poly-many fuction
overloding,fuction overloding,operator overloding.
ex->'+'
this opertor can be overloaded to add strings
(concatenation)or sets(union)and so on. functions also can
be overloaded as show in the next sectin.the
terms 'Overloading'and 'polymorphism' are used
interchangeablely.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading in oop?

577


What is polymorphism and why is it important?

562


What is polymorphism in oops?

558


How do you define social class?

600


Why polymorphism is used in oops?

585






What is cohesion in oop?

624


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1837


Why multiple inheritance is not allowed?

584


Can abstract class have normal methods?

614


What does <> mean pseudocode?

624


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

1788


What is overriding in oop?

550


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1780


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

2326


What is a function in oop?

631