How is it possible for two String objects with identical values not to be equal under the == operator? Ans. The == operator compares two objects to determine if they are the same object in memory. It is possible for two String objects to have the same value, but located indifferent areas of memory. - Study24x7
Social learning Network
01 Feb 2024 10:51 AM study24x7 study24x7

How is it possible for two String objects with identical values not to be equal under the == operator? Ans. The == operator compares two objects to determine if they are the same object in memory. It is possible for two String objects to have the same value, but located indifferent areas of memory.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles