Writing more than one method with the same name but their job is different is as known as polymorphism.
polymorphism has 2 type: 1-static polymorphism 2-dynamic polymorphism
static polymorphism: it is known as a compile time polymorph. by using the methods we know which method are going to be executed before compilation is known as static poly morph.
static polymorphism can be achieved using method overloading or constructor overloading.
method overloading: writing more than one method with same name but different signature in the one class in known as method overloading
Constructor overloading: writing more than one constructor with different signature is known as constructor overloading