4

public String findHappiness()
{
if(EverythingOk)
return “Drink Beer”;
else if(EverythingNotOk)
return “Drink Beer”;
else
return “Drink Beer”;
}

Comments
  • 0
    This could probably be refactored to...

    public String findHappines(EverythingOk) {
    return "Drink Beer"
    }
Add Comment