Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jaxson Brown   on Aug 12 In Java Category.

  
Question Answered By: Corey Brown   on Aug 12

Java does support Polymorphism.Though multiple inheritance is not supported.
What is polymorphism?
The meaning of the word polymorphism is something like one name, many forms.
How does Java implement polymorphism?
Polymorphism manifests itself in Java in the form of multiple methods having the
same name.

In some cases, multiple methods have the same name, but different formal
argument lists (overloaded methods, which were discussed in a previous lesson).
In other cases, multiple methods have the same name, same return type, and same
formal argument list (overridden methods).
Forms of polymorphism
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


Please do let me know if any further information is required.

Share: 

 

This Question has 23 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Polymorphism Or get search suggestion and latest updates.

Related Topics:

Tagged: