这可能听起来很基本......有人可以解释一下这种toString()方法的用法以及何时有效地使用它?
toString()
已经在谷歌搜索但找不到任何好的资源.
java tostring
java ×1
tostring ×1