polymorphism is the ability of a function or an object to take on multiple forms in polymorphism allow an operation to exhibit different behaviour in different instances the behaviour depends upon the type of data used in the operation for example considered the operation of addition for example to more numbers the operation will generate the sum and if the opponent string then the operating would produce a third string by the concatenation
Anshika Sharma
polymorphism is the ability of a function or an object to take on multiple forms in polymorphism allow an operation to exhibit different behaviour in different instances the behaviour depends upon the type of data used in the operation for example considered the operation of addition for example to more numbers the operation will generate the sum and if the opponent string then the operating would produce a third string by the concatenation