How is it possible for two String objects with identical values not to be equal under the == operator? How are this() and super(

Q

How is it possible for two String objects with identical values not to be equal under the == operator? How are this() and super() used with constructors?

✍: Guest

A

The == operator compares two objects to determine if they are the same objects in memory. It is possible for two String objects to have the same value, but located in different areas of memory.

2012-08-01, 2303👍, 0💬