Java View all facts Glossary Help |
identity |
identity comparison table |
Subject | is a kind of | is a subtopic of | has definition |
---|---|---|---|
kbTop | |||
identity | kbTop | Objects | 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. |
Next kbTop: Java program Up: kbTop Previous kbTop: HTML tag