Polymorphism in Java

Member of a class changing its behavior based on input given is called as polymorphism
1.Run time Ploymorphism
2.Compile time Polymorphism
1.Run time Ploymorphism
Method overloading is run time polymorphism in method overloading call to the method is decided at the run time based on the object given.
2.Compile time polymorphism
Method overriding is compile time polymorphism,The call to method is declare at compile time.

  • There is definately a lot to find out about this issue. I like all of the points you have made.