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

identity comparison table
Subject is a kind of is a subtopic of has definition
kbTop   
identitykbTopObjectsUnlike 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.

Next kbTopJava program    UpkbTop    Previous kbTopHTML tag