入门问题:关于Java中的构造函数的调用问题
public class Test {
private int width,height;
public Test(int i,int j)
{
width = i;
height = j;
}
public Test()
{
Test(10,20);
}
public int getWidht()
{
return width;
}
public int getHeight()
{
return height;
}
}
以上一个简单的类,我要在Test()中调用另外一个构造函数,但是不知道怎么写.