Java   View all facts   Glossary   Help
syntactic unit > symbol > operator > identity comparison operator
Next operator: logical operator    Up: operator    Previous operator: cast operator   

identity comparison operator comparison table
Subject use by have purpose return
!= to return true if the operands are not equala value called its result
==boolean data typeto compare any two variables to test if they are identical, which means they either refer to the same objects or have the same primitive valuesa boolean

Next operator: logical operator    Up: operator    Previous operator: cast operator