ToString可以被重写,返回需要的数据,而强制类型转换成String,是将原本不是String类型的对象转换成String类型。 转载于:https://www.cnblogs.com/Anthony518/p/11570389.html