static polymorphism(compile time polymorphism) and dynamic polymorphism(run time polymorphism).
Method overloading is an example of static polymorphism and method overriding is an example of dynamic polymorphism..
There are two type of polymorphism
1-Static polymorphism or Compile time polymorphism
2-Dynamic polymorphism or Runtime polymorphism
there are two type of polymorphism
1- Run time polymorphism
2- Compile time polymorphism
Please mention some examples at real time
compile time poymorphism and
Earlytime and Runtime.