private void writeObject(ObjectOutputStream stream) throws IOException {
  stream.defaultWriteObject();
}

private void writeObject ( ObjectOutputStream stream ) throws IOException { stream . defaultWriteObject ( ) ; }
write out the given output stream
