posted 20 years ago
For Strings the == operator compares the object's memory addresses, if they are the same address, they are the same object.
The equals() method compares the contents of the Strings, so:
[ January 22, 2004: Message edited by: Ray Stojonic ]