What is polymorphism? Explain with an example.

Answer Posted / farhan asad

polymorphion:
The ability of objects of one type to have one and the same interface, but different implementation of this interface.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you achieve runtime polymorphism?

573


What is oops in simple words?

585


What is overriding vs overloading?

589


how to get the oracle certification? send me the answer

1670


What are functions in oop?

586






What is variable example?

599


What is encapsulation example?

552


What are the benefits of polymorphism?

626


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1584


What is polymorphism and its types?

600


what are the different types of qualifier in java?

1846


What are the three main types of variables?

602


What is abstraction encapsulation?

662


What is the real time example of encapsulation?

600


What is the benefit of oop?

570