Possible Duplicate:
Creating a “logical exclusive or” operator in Java
I'm struggling with trying to write Java code for an exclusive or operator.
I have 1 method called leftTurn()
leftTurn(a,b,c) XOR leftTurn(a,b,d)
&
leftTurn(c,d,a) XOR leftTurn(c,d,b)
I dont know how to construct Java code for this.