5.5 自定义 toString() 方法

为对象自定义的toString()方法确保可以成功调用,且无副作用。