Compiletime polymorphism or runtime polymorphism
Please mention some examples at real time
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
compile time poymorphism and
Earlytime and Runtime.
there are two type of polymorphism1- Run time polymorphism
2- Compile time polymorphism