write about the polymorphism
Answers
Explanation:
The word polymorphism means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more than one form.
Real life example of polymorphism, a person at the same time can have different characteristic. Like a man at the same time is a father, a husband, an employee. So the same person posses different behavior in different situations. This is called polymorphism.
Polymorphism is considered as one of the important features of Object Oriented Programming.
Answer:
Polymorphism : A single substance that exists in two or more forms or crystalline structures is said to be polymorphous. Polymorphs of a substance are formed under different conditions. For example : Calcite and aragonite are two forms of calcium carbonate; α-quartz, β-quartz and cristobalite are three of the several forms of silica. Polymorphism occuring in elements is called allotropy. For example: three polymorphic (allotropic) forms of carbon are diamond, graphite and fullerene.