can i judge the two runtime instance are the same handle?

can I judge the two instance is the same handle, just like in C++ to get their address by "&" for compare?if yes, how?thanks in advanceFrederick
[177 byte] By [frederick123] at [2007-9-30 17:02:46]
# 1
Use the "=="-operator.
jsalonen at 2007-7-6 13:16:47 > top of Java-index,Administration Tools,Sun Connection...
# 2

Integer a = new Integer(7);

Integer b = new Integer(7);

boolean sameValue = (a.equals(b)); // true

boolean sameInstance = (a == b); // false

Just in case jsalonen's answer was a bit terse.

scorbett at 2007-7-6 13:16:47 > top of Java-index,Administration Tools,Sun Connection...