public boolean isValid(){
  return true;
}

public boolean isValid ( ) { return true ; }
returns true if all of the fields have legal values given their names . this method always returns true , but a subclass can override it to return false when appropriate .
