【Java】【陷阱】toString() 再也不用了

用toString 会遇到空指针的现象

直接用 String.valueOf 来替代

原文地址:https://www.cnblogs.com/danhuai/p/12781649.html