equals and ==?
One of hundreds of answers available with our premium content service.
A: The Java == operator is used to compare primitive values such as int, long and boolean for equality; whether the variables, values or expression on either side of the operator equate to the same value.
… full answer hidden
Premium members click below for full answer
What's the difference between equals and ==?