variables reference value of string

Posted by xdevel2000 on Stack Overflow See other posts from Stack Overflow or by xdevel2000
Published on 2010-06-01T07:30:12Z Indexed on 2010/06/01 7:33 UTC
Read the original article Hit count: 225

Filed under:
|

How can I get the reference value of a string object?

If I hava a class like

class T()
{
}
T t = new T();
System.out.println( t); 

print out T@a3455467 that is the reference value inside t

but for string? maybe with method hashCode()??

© Stack Overflow or respective owner

Related posts about java

Related posts about reference