-
instanceOf operator
what is difference between instanceOf operator and getclass()
-
-
-
-
-
How is it possible for two String objects with identical values not to be equalunder the == operator
The == operator compares two objects to determine if they are the same object inmemory. It is possible for two String objects to have the same value, but locatedindifferent areas of memory.