Java   View all facts   Glossary   Help
syntactic unit > symbol > operator > identity comparison operator
Next operatorlogical operator    Upoperator    Previous operatorcast 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 operatorlogical operator    Upoperator    Previous operatorcast operator