I have this code


class sobre {


sobre (int x)
{
System.out.println(x);
}

sobre (int x, int y)
{
sobre(x);
}

public static void main(String arguments[])
{
sobre s=new sobre(3,21);
}

}


Wich is overloading the constructor... but it tells me C:\Program Files\Xinox Software\JCreator Pro\MyProjects\aaa\sobre.java:12: cannot resolve symbol
symbol : method sobre (int)
location: class sobre
sobre(x);


WHY!!! It should work!!!