InterviewSolution
| 1. |
What do you understand by polymorphism can you present a code? |
|
Answer» Polymorphism depicts the ability where a method can have various behaviors entirely depending upon the object type where it is called or its type for which is passed as a parameter. for EXAMPLE, if a user has to define their own class "MyInteger" and a method "ADD" for the same following CODE has to be TYPED to bring it in functioning.Example Basically to add certain integer ALONG with another number we would follow through- |
|