tostring() 作用

tostring() 作用

  --》显示类中属性的值

  --》不想显示该类的内存地址

纸上来的终觉浅, 绝知此事要躬行
原文地址:https://www.cnblogs.com/zhaozhaozhang/p/5777664.html