请教
public boolean keFoZuoYi(){
if (fenYangShi==0 || fenYangShi==2)
{
if(zuoBiao.x-1<0||EskFrame.shuzu[zuoBiao.x-1][zuoBiao.y])
{return false;}
else
{return true;}
}
else if (fenYangShi==1 || fenYangShi==3)
{
for (int i=0;i<4;i++)
{
if(zuoBiao.x-1<0||EskFrame.shuzu[zuoBiao.x-1][zuoBiao.y+i])
{return false;}
return true;
}
}
}
编译这段代码总出现 missing return statement 错误
请问这是怎么回事?