[求助]新手寻求帮助.
class changfangxing{
int chang,kuang;
int zhouchang()
{
return 2*(chang+kuang);
}
int mianji()
{
return chang*kuang;
}
static void main(String[] rags)
{
chang=4;
kuang=5;
System.out.println(zhouchang());
System.out.println(mian());
}
}
这个哪里错了啊.帮忙检查下.谢谢...