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 |
What is constructor and virtual function? Can we call virtual funciton in a constructor?
Do we require parameter for constructors?
What is the use if instanceof keyword?
What is single and multiple inheritance?
What is the difference between a virtual method and an abstract method?
explain the difference between operator overloading and function overloading.
What is serialization? How do we implement serialization actually?
Explain about inheritance?
If a class inherits an interface, what are the 2 options available for that class?
Explain the term constructor
Explain the rationale behind object oriented concepts?
How many methods are there in the externalizable interface?