explain the polymorphism principlepolymorphism


Explain the Polymorphism principle.

Polymorphism can be referred as one name many forms. It's the ability of methods to behave differently, relying upon the object who is calling it. Polymorphism exists in 3 distinct forms in Java:

  • Method overloading
  • Method overriding through the Java interface
  • Method overriding through inheritance

 

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: explain the polymorphism principlepolymorphism
Reference No:- TGS0355114

Expected delivery within 24 Hours