|  Object Oriented Software Engineering   View all facts   Glossary   Help | 
| subject > programming language construct > operator > Java operator > Java identity comparison operator > == | 
|   | ||||
| == | ||||
| subject | fact | |||
| == | 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 values |  | 
| is a subtopic of The Basics of Java |  | |
| is an instance of Java identity comparison operator |  | |
| returns a boolean |  |