Member Since Mar-2010 |
Answered On : 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
Answered by: avinash on: Sep 26th, 2012
jdbc,servlets,jsp have come through polymorphism,if not there we have to remember all dependent classes related to DB,Servers...to use in our java coding
Answered by: Rupesh Raghani on: May 31st, 2012
The basic reason behind polymorphism is that we can implement different behaviors of the same object depending upon the reference type passed to an object.
In case of static polymorphism(Method OverL...
Editorial / Best Answer
Answered by: syamala235
View all answers by syamala235
Member Since Mar-2010 | Answered On : 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
jdbc,servlets,jsp have come through polymorphism,if not there we have to remember all dependent classes related to DB,Servers...to use in our java coding
The basic reason behind polymorphism is that we can implement different behaviors of the same object depending upon the reference type passed to an object. In case of static polymorphism(Method OverL...