Equality – Basic Elements, Primitive Data Types, and Operators

2.13 Equality We distinguish between primitive data value equality, object reference equality, and object value equality. The equality operators have lower precedence than the relational operators, but higher precedence than the assignment operators. Primitive Data Value Equality: ==, != Given that a and b represent operands of primitive data types, the primitive data value equality … Read more