Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > operator > Java operator > Java identity comparison operator
Next Java operatorJava logical operator    UpJava operator    Previous Java operatorJava 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 operatorJava logical operator    UpJava operator    Previous Java operatorJava arithmetic operator