Java   View all facts   Glossary   Help
identity
Next kbTopJava program    UpkbTop    Previous kbTopHTML tag   

identity
subjectfact 
identityhas 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.added by: WH, source: T24e Glossary, 2001-10-19 11:36:52.0
is a subtopic of Objects2001-10-19 11:36:52.0
is a kind of kbTopadded by: WH, 2001-10-19 11:36:52.0