Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > operator > Java operator > Java identity comparison operator > ==
Next Java identity comparison operator!=    UpJava identity comparison operator

==
subjectfact 
==has purpose to compare any two variables to test if they are identical, which means they either refer to the same objects or have the same primitive valueslink: chapter2section2.8.html#602, 2001-08-30 14:54:18.0
is a subtopic of The Basics of Java2001-08-30 14:54:18.0
is an instance of Java identity comparison operator2001-08-30 14:54:19.0
returns a booleanlink: chapter2section2.8.html#601, 2001-08-30 14:54:19.0