Explain the concept of polymorphism with examples?
Answer Posted / babul mog
Polymorphism: polymorphism means the same interface for multiple purposes,basically it is base class pointer which can access derive class members.
It has two types:
1. compile time polymorphisum: function overloading,function overriding.
2. runtime polymorphism : virtual function.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is data object example?
What is the difference between declaration and definition in java?
What do you mean by boolean?
What is the difference between stored procedure & function?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What are the new features in java 8? Explain
What is the main purpose of java?
How is it possible for two string objects with identical values not to be equal under the == operator?
Do we have pointers in java?
Is boolean a wrapper class in java?
How do you escape a string?
What is arrays fill in java?
Give us the name of the list layoutmanagers in java?
What is the use of beaninfo?
What do you mean by formatting?