Please mention some examples at real time
1-Compile time2-Run 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 polymorphism1-Static polymorphism or Compile time polymorphism2-Dynamic polymorphism or Runtime polymorphism
compile time poymorphism andRuntime polymorphism
Earlytime and Runtime.
there are two type of polymorphism1- Run time polymorphism2- Compile time polymorphism