class Guard implements IGuard {

  public String threatenSound() {
    throw new java.lang.ActionNotSupportedException();
  }

  public boolean deters( Animal intruder ) {
    return (threatenSound().length() > intruder.speak().length());
  }
}

