1.Object类中当输出一个对象的引用是,就是在调用它的toString方法
2.Object类中toString的定义:
Object中关于toString()方法的运用
原文:https://www.cnblogs.com/aruarian/p/14950209.html