Description:
Polymorphism inshort  means poly-many morphism -many forms.
Learn through my videos:

Program:
package polymorphism;
public class Polymorphism 
{    
    public static void main(String[] args)
    {
        A obj=new A();
        obj.show();
    }    
}
class A
{
    public void show()
    {
        System.out.println("Hello");
    }
    public void show(int i)
    {
        System.out.println("Hello"+i);
    }
}
Output:
Hello
Logic:
Polymorphism is the capability of a method to do different things based on the object that it is acting upon. In other words, polymorphism allows you define one interface and have multiple implementations.