public void print (Object obj)

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.

Parameters:
obj    The Object to be printed

See also:
java.lang.Object.toString()