Anyone could plz explain me the exclusive or operator in java ..
I want to know that why a minus sign is coming in my answer...according to me it should be simply 8 https://code.sololearn.com/cz8REcXC6bDj/?ref=app
Run this: https://code.sololearn.com/cnMMk8BODddd/?ref=app If you need any further information, just ask.
@Dolu Do you mean the minus sign in the output? It is just for text formatting, it is not used in the expression. You should take a look at the if statement before System.out.println.
but why minus sign....not getting that point
@Tashi N thank u ...got my doubt cleared😊