Skip to content Skip to sidebar Skip to footer

Why Tostring() Returns An Hexadecimal Code?

I have this written in my app LastFmServer server = AndroidLastFmServerFactory.getServer(); Artist[] results; results = server.searchForArtist('Hatebreed'); Log.e('', results[2].t

Solution 1:

It's because that class doesn't implement its own toString, so you end up calling the one inherited from java.lang.Object that gives you the class name and its hash.


Post a Comment for "Why Tostring() Returns An Hexadecimal Code?"