The Gingham Dog The Gingham Dog
Here is a picture of this situation. Even though both objects have equivalent data inside of them, ( strA == strB ) is false.
( strA == strB )
The == reports false because there are two different objects.
Image that you have three reference variables: itemA, itemB, itemC. And say that itemA == itemB and that itemB == itemC. How many objects are there?
itemA
itemB
itemC
itemA == itemB
itemB == itemC