ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Explain the different forms of Polymorphism.


There are two types of polymorphism one is Compile time polymorphism and the other is run time polymorphism. Compile time polymorphism is method overloading. Runtime time polymorphism is done using inheritance and interface.
Note: From a practical programming viewpoint, polymorphism manifests itself in three distinct forms in Java:
Method overloading
Method overriding through inheritance
Method overriding through the Java interface
Related Posts Plugin for WordPress, Blogger...
Flag Counter