CodeClerks

Polymorphism in Object Oriented Programming



Write the reason you're deleting this FAQ

Polymorphism in Object Oriented Programming

Polymorphism in another important OOP concept. Polymorphism, a Greek term, means the ability to take more than one form. An operation may exhibit different behaviors in different instances. The behavior depends upon the types of data used in the operation. For example, consider the operation of addition. For two numbers, the operation will generate a sum. If the operands are strings, then the operation would produce a third string by concatenation. The process of making an operator to exhibit different behaviors in different instances is known as operator overloading.

Comments

Please login or sign up to leave a comment

Join