What is Polymorphism?

Answer Posted / subrata

Polymorphism, according to the OO programming is the ability of objects belonging to different data types, to respond to the method call with the same name according to a type specific behavior.

Yeh, I know it is cryptic. But that is how it is. At the end, the interviewer will be confused so much so that - you are guaranteed to get in :)

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the major differences between late and dynamic binding?

666


Do we require a parameter for constructors?

734


What is the difference between a class and an object?

1048


What is the difference between class inheritance and interface inheritance?

778


Which oops concept exposes only necessary information to the calling functions?

753


What are the access modifiers?

771


What are abstract methods?

745


What is multiple inheritance? How java 8 supports multiple inheritance?

765


What is a nested interface?

738


How to differentiate between a CreateObject() and GetObject() ?

730


what is full form OOP?

731


Can you explain primordial class loader?

653


How can we restrict inheritance for a class so that no class can be inherited from it?

832


What does it mean that a method or class is abstract?

691


What is polymorphism and abstraction?

784