Constructor overloading issue in java
<p>I am learing core java and practicing it. I understand the concept of method overloading. But when I run the below program it shows error as "</p>

<pre><code>constructor Methodover in class Methodover cannot be applied to given types;
        Methodover m2 = new Methodover();
                        ^
  required: int,int
  found: no arguments
  reason: actual and formal argument lists differ in length"
</code></pre>

<p>Please find my code below and help.. I am just learning.</p>

<pre><code>public class Methodover
{   
    int x;
    int y;

     Methodover(int a, int b)
    {
        x=a;
        y=b;
        System.out.println("The values assigned are" +x+ "And" +y);

    }

    void multiply(Methodover obj)
    {   obj.x = 2;
        obj.y = 2;
        System.out.println("The multiplication result with object passed is" +obj.x*obj.y );

    }
    public static void main(String[] args)
    {
        Methodover m1 = new Methodover(5,6);
        Methodover m2 = new Methodover();
        m2.multiply(m1);

    }

}
</code></pre>
