Prints an object. The string produced by the java.lang.String.valueOf(Object)
method is translated into bytes
according to the platform's default character encoding, and these bytes
are written in exactly the manner of the write(int)
method.
obj | The Object to be printed |
java.lang.Object.toString()
Diagram: Writer