what is polymorphism with example?types of polymorphism?

Answer Posted / ramaiah.teepalapudi

polymorphism is the phenomenon where the same message sent
to two different objects produces two different set of
actions. Polymorphism is broadly divided into two parts:



Static polymorphism – exhibited by overloaded functions.
Dynamic polymorphism – exhibited by using late binding.

Is This Answer Correct ?    29 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write java program to reverse string without using api?

558


When a byte datatype is used?

571


How the interruptible method gets implemented?

569


What is bigger kb or mb?

590


What things should be kept in mind while creating your own exceptions in java?

636






What is nullpointerexception in java?

530


What does replaceall do in java?

492


What is an image buffer?

543


How do I get a substring?

531


What is a class component?

619


Is this valid in java ? Can we instantiate interface in java?

550


What is the use of hashmap in java?

559


Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview

2860


What is a function argument in java?

522


What are class types in java?

583