My question uses Java as an example, but I guess it applies to probably all.
Is there any practical difference between the XOR operator (^
in Java) and the not-equal-to operator (!=
in Java), when comparing booleans?
I evaluated things here, but I just kept wondering (seems weird, two things equal)... and didn't find anything on the net. Just one discussion in some forum that ended quickly without any result.