Im trying to run this program and i got an error - "Missing return statement", although i have an else in the end with return within.
Thanks
public boolean isLocated()
{
if ((_point1.quadrant() == _point2 .quadrant()) && (_point1.quadrant() == _point3 .quadrant()))
{
if((_point1.quadrant()) != 0)//check if both points are on axis
{
return true;
}
}
else
{
return false;
}
}
Aucun commentaire:
Enregistrer un commentaire