Converts obj to a String by invoking Object.toString and adds the result to this.
obj
this
void write(Object obj);