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 |
explain the difference between operator overloading and function overloading.
what is meant by "method-wars"?
What is static and dynamic Binding?
What are the basic concepts of oop?
What is meant by inheritance? what are the advantages of inheritance?
How can I be thrown polymorphically?
What is ‘this’ pointer?
Define a good interface?
Can encapsulation be called as a security device?
What is super keyword?
Can a function be overloaded based on return types?
What is meant by “abstract interface”?