Possible Duplicate:
What does the ^ operator do in Java?
The power ^ in Java?
I am sorry if this is a duplicate, but i didn´t found anything in SO.
So can someone explaint me why
System.out.println((2^0)); this does return 2?
i was expecting a 1.
x operators. Replacexwith the language in question: it will cover most questions of "Why/What does a <op> b ..?".