ICSE Class 9 Computer Applications
Question 14 of 17
Introduction to Object Oriented Programming Concepts — Question 14
Back to all questions 14
Question Question 14
Polymorphism means different forms. Explain Polymorphism in Java and provide examples to support your answer.
Polymorphism is the ability of a method or an object to take on multiple forms. In OOP, polymorphism allows an operation to exhibit different behaviour in different instances. The behaviour depends upon the type 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.