Answered Questions

  • Need of Polymorphism

    What is need of polymorphism in Java? What could have happen if polymorphism is not present?

    Star Read Best Answer

    Editorial / Best Answer

    syamala235  

    • Member Since Mar-2010 | Apr 8th, 2010


    Polymorphism in simple terms means one name many forms. Polymorphism enables one entity to be used as a general category for different types of actions. The specific action is determined by the exact nature of the situation.

    Polymorphism exists in three distinct forms in Java:
    • Method overloading
    • Method overriding through inheritance
    • Method overriding through the Java interface

    Prashant kumar gupta

    • Oct 28th, 2017

    We have different behaviors in different situations and in front of different people. A man behaves differently with his father, when he is with his friend he has different behavior. Another best exa...

    suraj

    • Jun 19th, 2017

    Polymorphism means one thing in many form. or one person different behavior is called polymorphism.