public String betToString(){
  final StringBuilder sb=new StringBuilder();
  sb.append(amount);
  sb.append(" ");
  sb.append(itemName);
  sb.append(" on ");
  sb.append(target);
  return sb.toString();
}

public String betToString ( ) { final StringBuilder sb = new StringBuilder ( ) ; sb . append ( amount ) ; sb . append ( " " ) ; sb . append ( itemName ) ; sb . append ( " on " ) ; sb . append ( target ) ; return sb . toString ( ) ; }
converts the bet into a string .
