Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > operator > Java operator > Java identity comparison operator
Next Java operator: Java logical operator    Up: Java operator    Previous Java operator: Java arithmetic operator   

Java identity comparison operator comparison table
Subject have purpose return
!=  
==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 valuesa boolean

Next Java operator: Java logical operator    Up: Java operator    Previous Java operator: Java arithmetic operator