單項選擇題

Java中Object有幾個方法其中的toString()方法返回的結(jié)果是什么()

A.哈希值
B.地址值
C.返回對象的字符串,此字符串是由getClass().getName()+‘@’+Integer.toHexString(hashCode())組成的
D.以上都不對

微信掃碼免費搜題