what is polymorphism?
Answers were Sorted based on User's Feedback
Answer / durgasri
In object-oriented programming, polymorphism (from the
Greek meaning "having multiple forms") is the
characteristic of being able to assign a different meaning
or usage to something in different contexts - specifically,
to allow an entity such as a variable, a function, or an
object to have more than one form.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / she
Polymorphism is the features that allow one interface to be
used for general class actions
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sudeep
poly mean MANY and morphism mean FORMS... so polymorphism is the ability to allow a function to exist in different forms.
Is This Answer Correct ? | 1 Yes | 0 No |
What is the equal sign?
What is type parameter in java?
What is the purpose of void?
class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.
What are the three types of design patterns?
How do you pass by reference?
program to validate the IP address? Validity range should be 0 to 255
Explain the difference between the Boolean & operator and the && operator?
In which way does a Primitive data type is passed ?
i need example for java abstraction. where we use abstraction and why we need abstraction.
What is constructor and virtual function? Can we call a virtual function in a constructor?
what is the difference between thread and runnable types? : Java thread