What is Polymorphism?
Answers were Sorted based on User's Feedback
Answer / tejas
The ability to take more than one form is known as
polymorphism.
| Is This Answer Correct ? | 18 Yes | 3 No |
Answer / mahendran a
Polymorphism is the mechanism used to decouple the caller of
a functionality or sender of a message and the actual
implementation that serves by without necessitating the
client knowing about the actual implementor &
implementation/response.
| Is This Answer Correct ? | 7 Yes | 6 No |
Answer / zain
In programming languages and type theory, polymorphism is the provision of a single interface to entities of different types. A polymorphic type is a type whose operations can also be applied to values of some other type, or types.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / shanti chouhan
The polymorphism is bunch of classes with different functionality and structure but all use the same interface
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / dk
Polymorphism is a concept use in OOP to define or describe different methods with same name like I.e. move of bishop and move of queen in chess game both have to move by different way.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kumaranr
in which a class has all the state and behaviour of the
another class
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / 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 |
When will you use an interface and abstract class?
If a class inherits an interface, what are the 2 options available for that class?
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?
What is the difference between an Abstract class and Interface?
Why dynamic loading is used in object-oriented programming?
What is the main use of message metaphor in object-oriented programming?
What is association?
Explain what a method is?
What is an interface?
Explain about parametric polymorphism?
Explain about inheritance?
Explain about overriding polymorphism?