Explain the concept of polymorphism with examples?
Answer Posted / sankar
polymorphism helps us create classes which are simple and
user friendly.it allow the class to behave polymorphicly
when different inputs are passed on to it.
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
How to declare objects of a class ?
Can we declare a constructor as final?
Define canvas?
Can we sort hashset in java?
Why chararray() is preferred over string to store the password?
Is heap stored in ram?
What is a local class in java?
What is java instanceof operator?
What is package protected in java?
Why is multiple inheritance not supported in java?
What is a jagged array in java?
Can you achieve runtime polymorphism by data members?
What is type safety in java?
How many types of methods are there?
What does sprintf mean?