摘要: 1. toString 方法: public String toString() { return getClass().getName() + "@" + Integer.toHexString(hashCode()); } 类重写以输出属性和想要的信息 看其是否被重写,直接看输出类名,可否出现其 阅读全文
posted @ 2020-03-06 22:00 |超人不会飞| 阅读(155) 评论(0) 推荐(0)