Java View all facts Glossary Help |
identity |
identity | ||||
subject | fact |
identity | has definition Unlike primitive values, objects possess a unique identity that makes them distinguishable from one another, even when they are in the same state ; e.g. Two strings, s1="x" and s2=new String(s1), are equal but have different identity, so s1.equals(s2) is true but s1==s2 is false. | |
is a subtopic of Objects | ||
is a kind of kbTop |