what is polymorphism with example?types of polymorphism?
Answer Posted / nidhi joon
The ability to take more than one form.
Supports two type
Method Overloading
Method Overriding
| Is This Answer Correct ? | 58 Yes | 38 No |
Post New Answer View All Answers
Explain the difference between string, stringbuffer and stringbuilder in java?
Explain the difference between static and dynamic binding in java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
How are multiple inheritances done in Java?
Can you explain the usages of class.forname()?
Can we change the scope of the overridden method in the subclass?
Explain the difference between arraylist and linkedlist in java?
what is encapsulation in java? Explain
Explain wait(), notify() and notifyall() methods of object class ?
Why doesn't the java library use a randomized version of quicksort?
Can private class be extended java?
What is the difference between hashmap and hashtable in java?
Is sizeof a keyword in java programming?
Should you use singleton pattern?
What is the protected method modifier?