public ResultFormatter(Object result){
  this.result=result;
  printHeader=true;
}

public ResultFormatter ( Object result ) { this . result = result ; printHeader = true ; }
creates a new formatter for a particular object .
