Yes Man

bool answer()
{
return YES;
}
Vote up this code3
  • Pingback: Movies as Code « FraSpi

  • http:// Geert Jaminon

    [code]Class Man extends Human {
    public bool answer() {
    return true;
    }
    }

    Class Woman extends Human {
    public bool answer() {
    throw new NullPointerException();
    }
    }[/code]

  • http://www.stephenturley.com/ Stephen Turley

    What language returns YES?