com.imooc.model.Goddness@3fb6a447
com.imooc.model.Goddness@3fb6a447
com.imooc.model.Goddness@79b4d0f
com.imooc.model.Goddness@6b2fad11
com.imooc.model.Goddness@79698539
com.imooc.model.Goddness@73f792cf
com.imooc.model.Goddness@2ed94a8b
為什么我輸出的就是這個(gè)?
2015-06-12
沒有輸出對(duì)象的內(nèi)容,只輸出對(duì)象名就是這種情況
2015-09-24
老師重寫了tostring()方法。把
@Override
public String toString() {
return "Goddess [id=" + id + ", user_name=" + user_name + ", sex="
+ sex + ", age=" + age + ", birthday=" + birthday + ", email="
+ email + ", mobile=" + mobile + ", create_user=" + create_user
+ ", update_user=" + update_user + ", create_date="
+ create_date + ", update_date=" + update_date + ", isdel="
+ isdel + "]";
}
放在Goddess.java中就行了