Java Associate — Easy
Key points
- The == operator is specifically for comparing equality in Java.
- Using = is incorrect as it is the assignment operator, not the equality comparison operator.
- === is not a valid operator in Java, it is used in other programming languages like JavaScript.
Ready to go further?
Related questions
