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 |
Can a class implement two interfaces having default method with same name and signature?
What is the difference between new and override?
what is meant by "method-wars"?
Why dynamic binding is used in object-oriented programming?
Explain about polymorphism?
What is bootstrap, extension and system class loader? Or can you explain primordial class loader?
What is data abstraction? what are the three levels of data abstraction with Example?
Which of the following is tightly bound ? Inheritance or composition ?
Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?
Differentiate between a class and a method.
What are the access modifiers?