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
.