Java View all facts Glossary Help |
syntactic unit > symbol > operator > binary 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 Operators | ||
is an instance of binary operator | ||
is an instance of identity comparison operator | ||
is an instance of relational operator | ||
is used by boolean data type | ||
returns a boolean | ||
binary operator | uses an infix notation | |
operator | evaluates to its result | |
has precedence | ||
is part of an expression | ||
is evaluated before another operator with lower precedence | ||
syntactic unit | has syntax rule bold = mandatory |