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
Explain OOPs concept.
What is package protected in java?
Is static a keyword in java?
What is an empty string in css?
What is this () in java?
Explain about features of local inner class?
What is a nested class?
What is a function argument in java?
Explain the difference between string, stringbuffer and stringbuilder in java?
What is nan in java?
What is data type example?
Is 0 an irrational number?
Explain different states of a thread in java?
What is the tradeoff between using an unordered array versus an ordered array?
Why do we use return statement?